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 duplicated requests
Stevend11e7a3a9a60
diff --git a/proto/api/v1/memo_service.proto b/proto/api/v1/memo_service.protoindex 2cdbe41ea..20b2e21ff 100644--- a/proto/api/v1/memo_service.proto+++ b/proto/api/v1/memo_service.proto@@ -51,10 +51,6 @@ service MemoService {option (google.api.http) = {delete: "/api/v1/{name=memos/*}"};option (google.api.method_signature) = "name";}- // ListMemoProperties lists memo properties.- rpc ListMemoProperties(ListMemoPropertiesRequest) returns (ListMemoPropertiesResponse) {- option (google.api.http) = {get: "/api/v1/{name=memos/*}/properties"};- }// RebuildMemoProperty rebuilds a memo property.rpc RebuildMemoProperty(RebuildMemoPropertyRequest) returns (google.protobuf.Empty) {option (google.api.http) = {@@ -62,10 +58,6 @@ service MemoService {body: "*"};}- // ListMemoTags lists tags for a memo.- rpc ListMemoTags(ListMemoTagsRequest) returns (ListMemoTagsResponse) {- option (google.api.http) = {get: "/api/v1/{parent=memos/*}/tags"};- }// RenameMemoTag renames a tag for a memo.rpc RenameMemoTag(RenameMemoTagRequest) returns (google.protobuf.Empty) {option (google.api.http) = {@@ -219,6 +211,16 @@ message CreateMemoRequest {optional Location location = 5;}+enum MemoView {+ MEMO_VIEW_UNSPECIFIED = 0;++ // The full view of the memo. Includes all fields.+ MEMO_VIEW_FULL = 1;++ // The metadata only view of the memo. Excludes the content/snippet fields.+ MEMO_VIEW_METADATA_ONLY = 2;+}+message ListMemosRequest {// The maximum number of memos to return.int32 page_size = 1;@@ -230,6 +232,9 @@ message ListMemosRequest {// Filter is used to filter memos returned in the list.// Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"string filter = 3;++ // The view of the memo.+ MemoView view = 4;}message ListMemosResponse {@@ -263,49 +268,12 @@ message DeleteMemoRequest {string name = 1;}-message ListMemoPropertiesRequest {- // The name of the memo.- // Format: memos/{id}. Use "memos/-" to list all properties.- string name = 1;-}--message ListMemoPropertiesResponse {- repeated MemoPropertyEntity entities = 1;-}--message MemoPropertyEntity {- // The name of the memo property.- // Format: memos/{id}/properties/{property_id}- string name = 1;-- MemoProperty property = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- google.protobuf.Timestamp display_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}-message RebuildMemoPropertyRequest {// The name of the memo.// Format: memos/{id}. Use "memos/-" to rebuild all memos.string name = 1;}-message ListMemoTagsRequest {- // The parent, who owns the tags.- // Format: memos/{id}. Use "memos/-" to list all tags.- string parent = 1;-- // Filter is used to filter memos.- // Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"- string filter = 2;-}--message ListMemoTagsResponse {- // tag_amounts is the amount of tags.- // key is the tag name. e.g. "tag1".- // value is the amount of the tag.- map<string, int32> tag_amounts = 1;-}-message RenameMemoTagRequest {// The parent, who owns the tags.// Format: memos/{id}. Use "memos/-" to rename all tags.diff --git a/proto/gen/api/v1/memo_service.pb.go b/proto/gen/api/v1/memo_service.pb.goindex 39c9ee46d..be5d0aa17 100644--- a/proto/gen/api/v1/memo_service.pb.go+++ b/proto/gen/api/v1/memo_service.pb.go@@ -76,6 +76,57 @@ func (Visibility) EnumDescriptor() ([]byte, []int) {return file_api_v1_memo_service_proto_rawDescGZIP(), []int{0}}+type MemoView int32++const (+ MemoView_MEMO_VIEW_UNSPECIFIED MemoView = 0+ // The full view of the memo. Includes all fields.+ MemoView_MEMO_VIEW_FULL MemoView = 1+ // The metadata only view of the memo. Excludes the content/snippet fields.+ MemoView_MEMO_VIEW_METADATA_ONLY MemoView = 2+)++// Enum value maps for MemoView.+var (+ MemoView_name = map[int32]string{+ 0: "MEMO_VIEW_UNSPECIFIED",+ 1: "MEMO_VIEW_FULL",+ 2: "MEMO_VIEW_METADATA_ONLY",+ }+ MemoView_value = map[string]int32{+ "MEMO_VIEW_UNSPECIFIED": 0,+ "MEMO_VIEW_FULL": 1,+ "MEMO_VIEW_METADATA_ONLY": 2,+ }+)++func (x MemoView) Enum() *MemoView {+ p := new(MemoView)+ *p = x+ return p+}++func (x MemoView) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (MemoView) Descriptor() protoreflect.EnumDescriptor {+ return file_api_v1_memo_service_proto_enumTypes[1].Descriptor()+}++func (MemoView) Type() protoreflect.EnumType {+ return &file_api_v1_memo_service_proto_enumTypes[1]+}++func (x MemoView) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use MemoView.Descriptor instead.+func (MemoView) EnumDescriptor() ([]byte, []int) {+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{1}+}+type Memo struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -511,6 +562,8 @@ type ListMemosRequest struct {// Filter is used to filter memos returned in the list.// Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`+ // The view of the memo.+ View MemoView `protobuf:"varint,4,opt,name=view,proto3,enum=memos.api.v1.MemoView" json:"view,omitempty"`}func (x *ListMemosRequest) Reset() {@@ -566,6 +619,13 @@ func (x *ListMemosRequest) GetFilter() string {return ""}+func (x *ListMemosRequest) GetView() MemoView {+ if x != nil {+ return x.View+ }+ return MemoView_MEMO_VIEW_UNSPECIFIED+}+type ListMemosResponse struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -824,167 +884,6 @@ func (x *DeleteMemoRequest) GetName() string {return ""}-type ListMemoPropertiesRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The name of the memo.- // Format: memos/{id}. Use "memos/-" to list all properties.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`-}--func (x *ListMemoPropertiesRequest) Reset() {- *x = ListMemoPropertiesRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[10]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ListMemoPropertiesRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ListMemoPropertiesRequest) ProtoMessage() {}--func (x *ListMemoPropertiesRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[10]- 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 ListMemoPropertiesRequest.ProtoReflect.Descriptor instead.-func (*ListMemoPropertiesRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{10}-}--func (x *ListMemoPropertiesRequest) GetName() string {- if x != nil {- return x.Name- }- return ""-}--type ListMemoPropertiesResponse struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- Entities []*MemoPropertyEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`-}--func (x *ListMemoPropertiesResponse) Reset() {- *x = ListMemoPropertiesResponse{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[11]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ListMemoPropertiesResponse) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ListMemoPropertiesResponse) ProtoMessage() {}--func (x *ListMemoPropertiesResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[11]- 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 ListMemoPropertiesResponse.ProtoReflect.Descriptor instead.-func (*ListMemoPropertiesResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{11}-}--func (x *ListMemoPropertiesResponse) GetEntities() []*MemoPropertyEntity {- if x != nil {- return x.Entities- }- return nil-}--type MemoPropertyEntity struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The name of the memo property.- // Format: memos/{id}/properties/{property_id}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Property *MemoProperty `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`- DisplayTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`-}--func (x *MemoPropertyEntity) Reset() {- *x = MemoPropertyEntity{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[12]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *MemoPropertyEntity) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*MemoPropertyEntity) ProtoMessage() {}--func (x *MemoPropertyEntity) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[12]- 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 MemoPropertyEntity.ProtoReflect.Descriptor instead.-func (*MemoPropertyEntity) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{12}-}--func (x *MemoPropertyEntity) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *MemoPropertyEntity) GetProperty() *MemoProperty {- if x != nil {- return x.Property- }- return nil-}--func (x *MemoPropertyEntity) GetDisplayTime() *timestamppb.Timestamp {- if x != nil {- return x.DisplayTime- }- return nil-}-type RebuildMemoPropertyRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -998,7 +897,7 @@ type RebuildMemoPropertyRequest struct {func (x *RebuildMemoPropertyRequest) Reset() {*x = RebuildMemoPropertyRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[13]+ mi := &file_api_v1_memo_service_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1011,7 +910,7 @@ func (x *RebuildMemoPropertyRequest) String() string {func (*RebuildMemoPropertyRequest) ProtoMessage() {}func (x *RebuildMemoPropertyRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[13]+ mi := &file_api_v1_memo_service_proto_msgTypes[10]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1024,7 +923,7 @@ func (x *RebuildMemoPropertyRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use RebuildMemoPropertyRequest.ProtoReflect.Descriptor instead.func (*RebuildMemoPropertyRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{13}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{10}}func (x *RebuildMemoPropertyRequest) GetName() string {@@ -1034,115 +933,6 @@ func (x *RebuildMemoPropertyRequest) GetName() string {return ""}-type ListMemoTagsRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The parent, who owns the tags.- // Format: memos/{id}. Use "memos/-" to list all tags.- Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`- // Filter is used to filter memos.- // Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"- Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`-}--func (x *ListMemoTagsRequest) Reset() {- *x = ListMemoTagsRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[14]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ListMemoTagsRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ListMemoTagsRequest) ProtoMessage() {}--func (x *ListMemoTagsRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[14]- 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 ListMemoTagsRequest.ProtoReflect.Descriptor instead.-func (*ListMemoTagsRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{14}-}--func (x *ListMemoTagsRequest) GetParent() string {- if x != nil {- return x.Parent- }- return ""-}--func (x *ListMemoTagsRequest) GetFilter() string {- if x != nil {- return x.Filter- }- return ""-}--type ListMemoTagsResponse struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // tag_amounts is the amount of tags.- // key is the tag name. e.g. "tag1".- // value is the amount of the tag.- TagAmounts map[string]int32 `protobuf:"bytes,1,rep,name=tag_amounts,json=tagAmounts,proto3" json:"tag_amounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`-}--func (x *ListMemoTagsResponse) Reset() {- *x = ListMemoTagsResponse{}- if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[15]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ListMemoTagsResponse) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ListMemoTagsResponse) ProtoMessage() {}--func (x *ListMemoTagsResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[15]- 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 ListMemoTagsResponse.ProtoReflect.Descriptor instead.-func (*ListMemoTagsResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{15}-}--func (x *ListMemoTagsResponse) GetTagAmounts() map[string]int32 {- if x != nil {- return x.TagAmounts- }- return nil-}-type RenameMemoTagRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1158,7 +948,7 @@ type RenameMemoTagRequest struct {func (x *RenameMemoTagRequest) Reset() {*x = RenameMemoTagRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[16]+ mi := &file_api_v1_memo_service_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1171,7 +961,7 @@ func (x *RenameMemoTagRequest) String() string {func (*RenameMemoTagRequest) ProtoMessage() {}func (x *RenameMemoTagRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[16]+ mi := &file_api_v1_memo_service_proto_msgTypes[11]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1184,7 +974,7 @@ func (x *RenameMemoTagRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use RenameMemoTagRequest.ProtoReflect.Descriptor instead.func (*RenameMemoTagRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{16}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{11}}func (x *RenameMemoTagRequest) GetParent() string {@@ -1223,7 +1013,7 @@ type DeleteMemoTagRequest struct {func (x *DeleteMemoTagRequest) Reset() {*x = DeleteMemoTagRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[17]+ mi := &file_api_v1_memo_service_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1236,7 +1026,7 @@ func (x *DeleteMemoTagRequest) String() string {func (*DeleteMemoTagRequest) ProtoMessage() {}func (x *DeleteMemoTagRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[17]+ mi := &file_api_v1_memo_service_proto_msgTypes[12]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1249,7 +1039,7 @@ func (x *DeleteMemoTagRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteMemoTagRequest.ProtoReflect.Descriptor instead.func (*DeleteMemoTagRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{17}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{12}}func (x *DeleteMemoTagRequest) GetParent() string {@@ -1287,7 +1077,7 @@ type SetMemoResourcesRequest struct {func (x *SetMemoResourcesRequest) Reset() {*x = SetMemoResourcesRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[18]+ mi := &file_api_v1_memo_service_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1300,7 +1090,7 @@ func (x *SetMemoResourcesRequest) String() string {func (*SetMemoResourcesRequest) ProtoMessage() {}func (x *SetMemoResourcesRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[18]+ mi := &file_api_v1_memo_service_proto_msgTypes[13]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1313,7 +1103,7 @@ func (x *SetMemoResourcesRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use SetMemoResourcesRequest.ProtoReflect.Descriptor instead.func (*SetMemoResourcesRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{18}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{13}}func (x *SetMemoResourcesRequest) GetName() string {@@ -1343,7 +1133,7 @@ type ListMemoResourcesRequest struct {func (x *ListMemoResourcesRequest) Reset() {*x = ListMemoResourcesRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[19]+ mi := &file_api_v1_memo_service_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1356,7 +1146,7 @@ func (x *ListMemoResourcesRequest) String() string {func (*ListMemoResourcesRequest) ProtoMessage() {}func (x *ListMemoResourcesRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[19]+ mi := &file_api_v1_memo_service_proto_msgTypes[14]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1369,7 +1159,7 @@ func (x *ListMemoResourcesRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoResourcesRequest.ProtoReflect.Descriptor instead.func (*ListMemoResourcesRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{19}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{14}}func (x *ListMemoResourcesRequest) GetName() string {@@ -1390,7 +1180,7 @@ type ListMemoResourcesResponse struct {func (x *ListMemoResourcesResponse) Reset() {*x = ListMemoResourcesResponse{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[20]+ mi := &file_api_v1_memo_service_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1403,7 +1193,7 @@ func (x *ListMemoResourcesResponse) String() string {func (*ListMemoResourcesResponse) ProtoMessage() {}func (x *ListMemoResourcesResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[20]+ mi := &file_api_v1_memo_service_proto_msgTypes[15]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1416,7 +1206,7 @@ func (x *ListMemoResourcesResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoResourcesResponse.ProtoReflect.Descriptor instead.func (*ListMemoResourcesResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{20}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{15}}func (x *ListMemoResourcesResponse) GetResources() []*Resource {@@ -1440,7 +1230,7 @@ type SetMemoRelationsRequest struct {func (x *SetMemoRelationsRequest) Reset() {*x = SetMemoRelationsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[21]+ mi := &file_api_v1_memo_service_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1453,7 +1243,7 @@ func (x *SetMemoRelationsRequest) String() string {func (*SetMemoRelationsRequest) ProtoMessage() {}func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[21]+ mi := &file_api_v1_memo_service_proto_msgTypes[16]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1466,7 +1256,7 @@ func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{21}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{16}}func (x *SetMemoRelationsRequest) GetName() string {@@ -1496,7 +1286,7 @@ type ListMemoRelationsRequest struct {func (x *ListMemoRelationsRequest) Reset() {*x = ListMemoRelationsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[22]+ mi := &file_api_v1_memo_service_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1509,7 +1299,7 @@ func (x *ListMemoRelationsRequest) String() string {func (*ListMemoRelationsRequest) ProtoMessage() {}func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[22]+ mi := &file_api_v1_memo_service_proto_msgTypes[17]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1522,7 +1312,7 @@ func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{22}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{17}}func (x *ListMemoRelationsRequest) GetName() string {@@ -1543,7 +1333,7 @@ type ListMemoRelationsResponse struct {func (x *ListMemoRelationsResponse) Reset() {*x = ListMemoRelationsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[23]+ mi := &file_api_v1_memo_service_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1556,7 +1346,7 @@ func (x *ListMemoRelationsResponse) String() string {func (*ListMemoRelationsResponse) ProtoMessage() {}func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[23]+ mi := &file_api_v1_memo_service_proto_msgTypes[18]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1569,7 +1359,7 @@ func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{23}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{18}}func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation {@@ -1593,7 +1383,7 @@ type CreateMemoCommentRequest struct {func (x *CreateMemoCommentRequest) Reset() {*x = CreateMemoCommentRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[24]+ mi := &file_api_v1_memo_service_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1606,7 +1396,7 @@ func (x *CreateMemoCommentRequest) String() string {func (*CreateMemoCommentRequest) ProtoMessage() {}func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[24]+ mi := &file_api_v1_memo_service_proto_msgTypes[19]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1619,7 +1409,7 @@ func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{24}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{19}}func (x *CreateMemoCommentRequest) GetName() string {@@ -1649,7 +1439,7 @@ type ListMemoCommentsRequest struct {func (x *ListMemoCommentsRequest) Reset() {*x = ListMemoCommentsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[25]+ mi := &file_api_v1_memo_service_proto_msgTypes[20]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1662,7 +1452,7 @@ func (x *ListMemoCommentsRequest) String() string {func (*ListMemoCommentsRequest) ProtoMessage() {}func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[25]+ mi := &file_api_v1_memo_service_proto_msgTypes[20]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1675,7 +1465,7 @@ func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{25}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{20}}func (x *ListMemoCommentsRequest) GetName() string {@@ -1696,7 +1486,7 @@ type ListMemoCommentsResponse struct {func (x *ListMemoCommentsResponse) Reset() {*x = ListMemoCommentsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[26]+ mi := &file_api_v1_memo_service_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1709,7 +1499,7 @@ func (x *ListMemoCommentsResponse) String() string {func (*ListMemoCommentsResponse) ProtoMessage() {}func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[26]+ mi := &file_api_v1_memo_service_proto_msgTypes[21]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1722,7 +1512,7 @@ func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{26}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{21}}func (x *ListMemoCommentsResponse) GetMemos() []*Memo {@@ -1745,7 +1535,7 @@ type ListMemoReactionsRequest struct {func (x *ListMemoReactionsRequest) Reset() {*x = ListMemoReactionsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[27]+ mi := &file_api_v1_memo_service_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1758,7 +1548,7 @@ func (x *ListMemoReactionsRequest) String() string {func (*ListMemoReactionsRequest) ProtoMessage() {}func (x *ListMemoReactionsRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[27]+ mi := &file_api_v1_memo_service_proto_msgTypes[22]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1771,7 +1561,7 @@ func (x *ListMemoReactionsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoReactionsRequest.ProtoReflect.Descriptor instead.func (*ListMemoReactionsRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{27}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{22}}func (x *ListMemoReactionsRequest) GetName() string {@@ -1792,7 +1582,7 @@ type ListMemoReactionsResponse struct {func (x *ListMemoReactionsResponse) Reset() {*x = ListMemoReactionsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[28]+ mi := &file_api_v1_memo_service_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1805,7 +1595,7 @@ func (x *ListMemoReactionsResponse) String() string {func (*ListMemoReactionsResponse) ProtoMessage() {}func (x *ListMemoReactionsResponse) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[28]+ mi := &file_api_v1_memo_service_proto_msgTypes[23]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1818,7 +1608,7 @@ func (x *ListMemoReactionsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListMemoReactionsResponse.ProtoReflect.Descriptor instead.func (*ListMemoReactionsResponse) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{28}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{23}}func (x *ListMemoReactionsResponse) GetReactions() []*Reaction {@@ -1842,7 +1632,7 @@ type UpsertMemoReactionRequest struct {func (x *UpsertMemoReactionRequest) Reset() {*x = UpsertMemoReactionRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[29]+ mi := &file_api_v1_memo_service_proto_msgTypes[24]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1855,7 +1645,7 @@ func (x *UpsertMemoReactionRequest) String() string {func (*UpsertMemoReactionRequest) ProtoMessage() {}func (x *UpsertMemoReactionRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[29]+ mi := &file_api_v1_memo_service_proto_msgTypes[24]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1868,7 +1658,7 @@ func (x *UpsertMemoReactionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpsertMemoReactionRequest.ProtoReflect.Descriptor instead.func (*UpsertMemoReactionRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{29}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{24}}func (x *UpsertMemoReactionRequest) GetName() string {@@ -1896,7 +1686,7 @@ type DeleteMemoReactionRequest struct {func (x *DeleteMemoReactionRequest) Reset() {*x = DeleteMemoReactionRequest{}if protoimpl.UnsafeEnabled {- mi := &file_api_v1_memo_service_proto_msgTypes[30]+ mi := &file_api_v1_memo_service_proto_msgTypes[25]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1909,7 +1699,7 @@ func (x *DeleteMemoReactionRequest) String() string {func (*DeleteMemoReactionRequest) ProtoMessage() {}func (x *DeleteMemoReactionRequest) ProtoReflect() protoreflect.Message {- mi := &file_api_v1_memo_service_proto_msgTypes[30]+ mi := &file_api_v1_memo_service_proto_msgTypes[25]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1922,7 +1712,7 @@ func (x *DeleteMemoReactionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteMemoReactionRequest.ProtoReflect.Descriptor instead.func (*DeleteMemoReactionRequest) Descriptor() ([]byte, []int) {- return file_api_v1_memo_service_proto_rawDescGZIP(), []int{30}+ return file_api_v1_memo_service_proto_rawDescGZIP(), []int{25}}func (x *DeleteMemoReactionRequest) GetReactionId() int32 {@@ -2048,328 +1838,285 @@ var file_api_v1_memo_service_proto_rawDesc = []byte{0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 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, 0x31, 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, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 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, 0x27, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x65,- 0x6d, 0x6f, 0x42, 0x79, 0x55, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10,- 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,- 0x22, 0x78, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x31, 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, 0x02, 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, 0x27, 0x0a, 0x11, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 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, 0x2f, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x50,- 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x6f, 0x6e, 0x22, 0x92, 0x01, 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, 0x12, 0x2a, 0x0a, 0x04, 0x76,+ 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x56, 0x69, 0x65,+ 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 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, 0x31, 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, 0x24,+ 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 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, 0x5a, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f,- 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,- 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,- 0x22, 0xab, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,- 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x70,- 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d,- 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,- 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x64, 0x69, 0x73,- 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42,+ 0x79, 0x55, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75,+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x78, 0x0a,+ 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 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, 0x31, 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, 0x02, 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, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x30,- 0x0a, 0x1a, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f,- 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,+ 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x27, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x4d, 0x65, 0x6d, 0x6f, 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, 0x45, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,- 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74,- 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x12, 0x53, 0x0a, 0x0b, 0x74, 0x61, 0x67, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18,- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67,- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x41, 0x6d, 0x6f,- 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x41, 0x6d,- 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x54, 0x61, 0x67, 0x41, 0x6d, 0x6f, 0x75,- 0x6e, 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, 0x60, 0x0a, 0x14, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4d, 0x65,+ 0x22, 0x30, 0x0a, 0x1a, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50,+ 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 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, 0x60, 0x0a, 0x14, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4d, 0x65, 0x6d, 0x6f,+ 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6e,+ 0x65, 0x77, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65,+ 0x77, 0x54, 0x61, 0x67, 0x22, 0x72, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x12, 0x17, 0x0a,- 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x6e, 0x65, 0x77, 0x54, 0x61, 0x67, 0x22, 0x72, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,- 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,- 0x6c, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x63, 0x0a, 0x17, 0x53, 0x65,- 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65,+ 0x72, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,+ 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x03,+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61,+ 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x2e, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x52, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,+ 0x22, 0x67, 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, 0x12, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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,+ 0x31, 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, 0x2e, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22,- 0x2e, 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, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x52,- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x73, 0x22, 0x67, 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, 0x12, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 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, 0x31, 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, 0x2e, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 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, 0x69, 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, 0x12,- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x2d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x22, 0x51, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,- 0x34, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x61, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69,- 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,- 0x52, 0x08, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3c, 0x0a, 0x19, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74,- 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65,- 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 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, 0xc0, 0x14, 0x0a, 0x0b, 0x4d,- 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 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, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,- 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x18, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,- 0x31, 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, 0x31, 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, 0x31, 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, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x62, 0x0a, 0x07,- 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0x6f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x55, 0x69, 0x64,- 0x12, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,- 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x55, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x28, 0xda, 0x41, 0x03, 0x75, 0x69, 0x64, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d,- 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x62, 0x79, 0x2d, 0x75, 0x69, 0x64, 0x2f, 0x7b, 0x75, 0x69, 0x64,- 0x7d, 0x12, 0x7f, 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, 0x31, 0x2e, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,- 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x3c, 0xda, 0x41, 0x10, 0x6d, 0x65, 0x6d, 0x6f, 0x2c, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a,- 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x32, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x6d, 0x65, 0x6d, 0x6f, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,- 0x2a, 0x7d, 0x12, 0x6c, 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, 0x31, 0x2e,- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0x92, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f,- 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x50,- 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x1a, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,- 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,- 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x23, 0x12, 0x21, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,- 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c,- 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x28, 0x2e,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62,- 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 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, 0x69, 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, 0x12, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,+ 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x2d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x22, 0x2e, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 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,+ 0x22, 0x51, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a,+ 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,+ 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69,+ 0x6f, 0x6e, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08,+ 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3c, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,+ 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 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, 0x2a, 0x56, 0x0a, 0x08, 0x4d, 0x65, 0x6d, 0x6f,+ 0x56, 0x69, 0x65, 0x77, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x4d, 0x4f, 0x5f, 0x56, 0x49, 0x45,+ 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,+ 0x12, 0x0a, 0x0e, 0x4d, 0x45, 0x4d, 0x4f, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c,+ 0x4c, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x4d, 0x4f, 0x5f, 0x56, 0x49, 0x45, 0x57,+ 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02,+ 0x32, 0xad, 0x12, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,+ 0x12, 0x5b, 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, 0x31, 0x2e, 0x43, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d,+ 0x65, 0x6d, 0x6f, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 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, 0x31, 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, 0x31, 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, 0x31, 0x2f, 0x6d, 0x65, 0x6d,+ 0x6f, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1c, 0x2e,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22,+ 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d,+ 0x6f, 0x42, 0x79, 0x55, 0x69, 0x64, 0x12, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x79, 0x55,+ 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x28, 0xda,+ 0x41, 0x03, 0x75, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x70,+ 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x62, 0x79, 0x2d, 0x75, 0x69,+ 0x64, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x12, 0x7f, 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, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x3c, 0xda, 0x41, 0x10, 0x6d,+ 0x65, 0x6d, 0x6f, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x32, 0x1b, 0x2f, 0x61, 0x70,+ 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, 0x65, 0x6d, 0x6f, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c, 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, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f,0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,- 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x61, 0x70, 0x69,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,- 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x3a, 0x72, 0x65,- 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x7c, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d,- 0x6f, 0x54, 0x61, 0x67, 0x73, 0x12, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f,- 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74,- 0x61, 0x67, 0x73, 0x12, 0x7c, 0x0a, 0x0d, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4d, 0x65, 0x6d,- 0x6f, 0x54, 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61,- 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65,+ 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x62, 0x75, 0x69,+ 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x28,+ 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,+ 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,- 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x32, 0x24, 0x2f, 0x61, 0x70,- 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6d, 0x65, 0x6d,- 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x3a, 0x72, 0x65, 0x6e, 0x61, 0x6d,- 0x65, 0x12, 0x78, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54,- 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2b,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x2a, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d,- 0x2f, 0x74, 0x61, 0x67, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x67, 0x7d, 0x12, 0x85, 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, 0x31, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,- 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01,- 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x73, 0x12, 0x95, 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, 0x31, 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, 0x31,- 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, 0x2f, 0xda, 0x41, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x85, 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, 0x31, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,- 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01,- 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x73, 0x12, 0x95, 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, 0x31, 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, 0x31,- 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, 0x2f, 0xda, 0x41, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x88, 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, 0x31,- 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, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x37, 0xda,- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x07, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x91, 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, 0x31, 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,- 0x31, 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, 0x2e, 0xda, 0x41, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x11, 0x4c,- 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,- 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,- 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 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, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f,- 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22,- 0x12, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,- 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x73, 0x12, 0x89, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x6d,- 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x4d,- 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,- 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x61,+ 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x61, 0x70,+ 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x3a, 0x72,+ 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x7c, 0x0a, 0x0d, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,+ 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,+ 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4d, 0x65, 0x6d,+ 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,+ 0x70, 0x74, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x32, 0x24,+ 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,+ 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x3a, 0x72, 0x65,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x78, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,+ 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,+ 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54,+ 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,+ 0x79, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x2a, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x67, 0x7d, 0x12, 0x85,+ 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, 0x31, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,+ 0x74, 0x79, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x25, 0x3a, 0x01, 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x95, 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, 0x31, 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, 0x31, 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, 0x2f, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61,+ 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x85,+ 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, 0x31, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,+ 0x74, 0x79, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x25, 0x3a, 0x01, 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x95, 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, 0x31, 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, 0x31, 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, 0x2f, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61,0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8c,- 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61,- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,- 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52,- 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,- 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74,- 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x2a, 0x1f, 0x2f, 0x61,- 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,- 0x7b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0xa8, 0x01,- 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,- 0x76, 0x31, 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, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02,- 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c,- 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x4d,- 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 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, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x88,+ 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, 0x31, 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, 0x12, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f,+ 0x22, 0x37, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a,+ 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d,+ 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x91, 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, 0x31, 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, 0x31, 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, 0x2e, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x61,+ 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x95, 0x01,+ 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69,+ 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 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, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d,+ 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x89, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74,+ 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x73, 0x65,+ 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,+ 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22,+ 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,+ 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f,+ 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,+ 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x0b, 0x72, 0x65,+ 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x2a,+ 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,+ 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d,+ 0x42, 0xa8, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,+ 0x70, 0x69, 0x2e, 0x76, 0x31, 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, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x41,+ 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31,+ 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2,+ 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 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, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x33,}var (@@ -2384,127 +2131,115 @@ func file_api_v1_memo_service_proto_rawDescGZIP() []byte {return file_api_v1_memo_service_proto_rawDescData}-var file_api_v1_memo_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)-var file_api_v1_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)+var file_api_v1_memo_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)+var file_api_v1_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 26)var file_api_v1_memo_service_proto_goTypes = []any{(Visibility)(0), // 0: memos.api.v1.Visibility- (*Memo)(nil), // 1: memos.api.v1.Memo- (*MemoProperty)(nil), // 2: memos.api.v1.MemoProperty- (*Location)(nil), // 3: memos.api.v1.Location- (*CreateMemoRequest)(nil), // 4: memos.api.v1.CreateMemoRequest- (*ListMemosRequest)(nil), // 5: memos.api.v1.ListMemosRequest- (*ListMemosResponse)(nil), // 6: memos.api.v1.ListMemosResponse- (*GetMemoRequest)(nil), // 7: memos.api.v1.GetMemoRequest- (*GetMemoByUidRequest)(nil), // 8: memos.api.v1.GetMemoByUidRequest- (*UpdateMemoRequest)(nil), // 9: memos.api.v1.UpdateMemoRequest- (*DeleteMemoRequest)(nil), // 10: memos.api.v1.DeleteMemoRequest- (*ListMemoPropertiesRequest)(nil), // 11: memos.api.v1.ListMemoPropertiesRequest- (*ListMemoPropertiesResponse)(nil), // 12: memos.api.v1.ListMemoPropertiesResponse- (*MemoPropertyEntity)(nil), // 13: memos.api.v1.MemoPropertyEntity- (*RebuildMemoPropertyRequest)(nil), // 14: memos.api.v1.RebuildMemoPropertyRequest- (*ListMemoTagsRequest)(nil), // 15: memos.api.v1.ListMemoTagsRequest- (*ListMemoTagsResponse)(nil), // 16: memos.api.v1.ListMemoTagsResponse- (*RenameMemoTagRequest)(nil), // 17: memos.api.v1.RenameMemoTagRequest- (*DeleteMemoTagRequest)(nil), // 18: memos.api.v1.DeleteMemoTagRequest- (*SetMemoResourcesRequest)(nil), // 19: memos.api.v1.SetMemoResourcesRequest- (*ListMemoResourcesRequest)(nil), // 20: memos.api.v1.ListMemoResourcesRequest- (*ListMemoResourcesResponse)(nil), // 21: memos.api.v1.ListMemoResourcesResponse- (*SetMemoRelationsRequest)(nil), // 22: memos.api.v1.SetMemoRelationsRequest- (*ListMemoRelationsRequest)(nil), // 23: memos.api.v1.ListMemoRelationsRequest- (*ListMemoRelationsResponse)(nil), // 24: memos.api.v1.ListMemoRelationsResponse- (*CreateMemoCommentRequest)(nil), // 25: memos.api.v1.CreateMemoCommentRequest- (*ListMemoCommentsRequest)(nil), // 26: memos.api.v1.ListMemoCommentsRequest- (*ListMemoCommentsResponse)(nil), // 27: memos.api.v1.ListMemoCommentsResponse- (*ListMemoReactionsRequest)(nil), // 28: memos.api.v1.ListMemoReactionsRequest- (*ListMemoReactionsResponse)(nil), // 29: memos.api.v1.ListMemoReactionsResponse- (*UpsertMemoReactionRequest)(nil), // 30: memos.api.v1.UpsertMemoReactionRequest- (*DeleteMemoReactionRequest)(nil), // 31: memos.api.v1.DeleteMemoReactionRequest- nil, // 32: memos.api.v1.ListMemoTagsResponse.TagAmountsEntry- (RowStatus)(0), // 33: memos.api.v1.RowStatus- (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp- (*Node)(nil), // 35: memos.api.v1.Node- (*Resource)(nil), // 36: memos.api.v1.Resource- (*MemoRelation)(nil), // 37: memos.api.v1.MemoRelation- (*Reaction)(nil), // 38: memos.api.v1.Reaction- (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask- (*emptypb.Empty)(nil), // 40: google.protobuf.Empty+ (MemoView)(0), // 1: memos.api.v1.MemoView+ (*Memo)(nil), // 2: memos.api.v1.Memo+ (*MemoProperty)(nil), // 3: memos.api.v1.MemoProperty+ (*Location)(nil), // 4: memos.api.v1.Location+ (*CreateMemoRequest)(nil), // 5: memos.api.v1.CreateMemoRequest+ (*ListMemosRequest)(nil), // 6: memos.api.v1.ListMemosRequest+ (*ListMemosResponse)(nil), // 7: memos.api.v1.ListMemosResponse+ (*GetMemoRequest)(nil), // 8: memos.api.v1.GetMemoRequest+ (*GetMemoByUidRequest)(nil), // 9: memos.api.v1.GetMemoByUidRequest+ (*UpdateMemoRequest)(nil), // 10: memos.api.v1.UpdateMemoRequest+ (*DeleteMemoRequest)(nil), // 11: memos.api.v1.DeleteMemoRequest+ (*RebuildMemoPropertyRequest)(nil), // 12: memos.api.v1.RebuildMemoPropertyRequest+ (*RenameMemoTagRequest)(nil), // 13: memos.api.v1.RenameMemoTagRequest+ (*DeleteMemoTagRequest)(nil), // 14: memos.api.v1.DeleteMemoTagRequest+ (*SetMemoResourcesRequest)(nil), // 15: memos.api.v1.SetMemoResourcesRequest+ (*ListMemoResourcesRequest)(nil), // 16: memos.api.v1.ListMemoResourcesRequest+ (*ListMemoResourcesResponse)(nil), // 17: memos.api.v1.ListMemoResourcesResponse+ (*SetMemoRelationsRequest)(nil), // 18: memos.api.v1.SetMemoRelationsRequest+ (*ListMemoRelationsRequest)(nil), // 19: memos.api.v1.ListMemoRelationsRequest+ (*ListMemoRelationsResponse)(nil), // 20: memos.api.v1.ListMemoRelationsResponse+ (*CreateMemoCommentRequest)(nil), // 21: memos.api.v1.CreateMemoCommentRequest+ (*ListMemoCommentsRequest)(nil), // 22: memos.api.v1.ListMemoCommentsRequest+ (*ListMemoCommentsResponse)(nil), // 23: memos.api.v1.ListMemoCommentsResponse+ (*ListMemoReactionsRequest)(nil), // 24: memos.api.v1.ListMemoReactionsRequest+ (*ListMemoReactionsResponse)(nil), // 25: memos.api.v1.ListMemoReactionsResponse+ (*UpsertMemoReactionRequest)(nil), // 26: memos.api.v1.UpsertMemoReactionRequest+ (*DeleteMemoReactionRequest)(nil), // 27: memos.api.v1.DeleteMemoReactionRequest+ (RowStatus)(0), // 28: memos.api.v1.RowStatus+ (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp+ (*Node)(nil), // 30: memos.api.v1.Node+ (*Resource)(nil), // 31: memos.api.v1.Resource+ (*MemoRelation)(nil), // 32: memos.api.v1.MemoRelation+ (*Reaction)(nil), // 33: memos.api.v1.Reaction+ (*fieldmaskpb.FieldMask)(nil), // 34: google.protobuf.FieldMask+ (*emptypb.Empty)(nil), // 35: google.protobuf.Empty}var file_api_v1_memo_service_proto_depIdxs = []int32{- 33, // 0: memos.api.v1.Memo.row_status:type_name -> memos.api.v1.RowStatus- 34, // 1: memos.api.v1.Memo.create_time:type_name -> google.protobuf.Timestamp- 34, // 2: memos.api.v1.Memo.update_time:type_name -> google.protobuf.Timestamp- 34, // 3: memos.api.v1.Memo.display_time:type_name -> google.protobuf.Timestamp- 35, // 4: memos.api.v1.Memo.nodes:type_name -> memos.api.v1.Node+ 28, // 0: memos.api.v1.Memo.row_status:type_name -> memos.api.v1.RowStatus+ 29, // 1: memos.api.v1.Memo.create_time:type_name -> google.protobuf.Timestamp+ 29, // 2: memos.api.v1.Memo.update_time:type_name -> google.protobuf.Timestamp+ 29, // 3: memos.api.v1.Memo.display_time:type_name -> google.protobuf.Timestamp+ 30, // 4: memos.api.v1.Memo.nodes:type_name -> memos.api.v1.Node0, // 5: memos.api.v1.Memo.visibility:type_name -> memos.api.v1.Visibility- 36, // 6: memos.api.v1.Memo.resources:type_name -> memos.api.v1.Resource- 37, // 7: memos.api.v1.Memo.relations:type_name -> memos.api.v1.MemoRelation- 38, // 8: memos.api.v1.Memo.reactions:type_name -> memos.api.v1.Reaction- 2, // 9: memos.api.v1.Memo.property:type_name -> memos.api.v1.MemoProperty- 3, // 10: memos.api.v1.Memo.location:type_name -> memos.api.v1.Location+ 31, // 6: memos.api.v1.Memo.resources:type_name -> memos.api.v1.Resource+ 32, // 7: memos.api.v1.Memo.relations:type_name -> memos.api.v1.MemoRelation+ 33, // 8: memos.api.v1.Memo.reactions:type_name -> memos.api.v1.Reaction+ 3, // 9: memos.api.v1.Memo.property:type_name -> memos.api.v1.MemoProperty+ 4, // 10: memos.api.v1.Memo.location:type_name -> memos.api.v1.Location0, // 11: memos.api.v1.CreateMemoRequest.visibility:type_name -> memos.api.v1.Visibility- 36, // 12: memos.api.v1.CreateMemoRequest.resources:type_name -> memos.api.v1.Resource- 37, // 13: memos.api.v1.CreateMemoRequest.relations:type_name -> memos.api.v1.MemoRelation- 3, // 14: memos.api.v1.CreateMemoRequest.location:type_name -> memos.api.v1.Location- 1, // 15: memos.api.v1.ListMemosResponse.memos:type_name -> memos.api.v1.Memo- 1, // 16: memos.api.v1.UpdateMemoRequest.memo:type_name -> memos.api.v1.Memo- 39, // 17: memos.api.v1.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask- 13, // 18: memos.api.v1.ListMemoPropertiesResponse.entities:type_name -> memos.api.v1.MemoPropertyEntity- 2, // 19: memos.api.v1.MemoPropertyEntity.property:type_name -> memos.api.v1.MemoProperty- 34, // 20: memos.api.v1.MemoPropertyEntity.display_time:type_name -> google.protobuf.Timestamp- 32, // 21: memos.api.v1.ListMemoTagsResponse.tag_amounts:type_name -> memos.api.v1.ListMemoTagsResponse.TagAmountsEntry- 36, // 22: memos.api.v1.SetMemoResourcesRequest.resources:type_name -> memos.api.v1.Resource- 36, // 23: memos.api.v1.ListMemoResourcesResponse.resources:type_name -> memos.api.v1.Resource- 37, // 24: memos.api.v1.SetMemoRelationsRequest.relations:type_name -> memos.api.v1.MemoRelation- 37, // 25: memos.api.v1.ListMemoRelationsResponse.relations:type_name -> memos.api.v1.MemoRelation- 4, // 26: memos.api.v1.CreateMemoCommentRequest.comment:type_name -> memos.api.v1.CreateMemoRequest- 1, // 27: memos.api.v1.ListMemoCommentsResponse.memos:type_name -> memos.api.v1.Memo- 38, // 28: memos.api.v1.ListMemoReactionsResponse.reactions:type_name -> memos.api.v1.Reaction- 38, // 29: memos.api.v1.UpsertMemoReactionRequest.reaction:type_name -> memos.api.v1.Reaction- 4, // 30: memos.api.v1.MemoService.CreateMemo:input_type -> memos.api.v1.CreateMemoRequest- 5, // 31: memos.api.v1.MemoService.ListMemos:input_type -> memos.api.v1.ListMemosRequest- 7, // 32: memos.api.v1.MemoService.GetMemo:input_type -> memos.api.v1.GetMemoRequest- 8, // 33: memos.api.v1.MemoService.GetMemoByUid:input_type -> memos.api.v1.GetMemoByUidRequest- 9, // 34: memos.api.v1.MemoService.UpdateMemo:input_type -> memos.api.v1.UpdateMemoRequest- 10, // 35: memos.api.v1.MemoService.DeleteMemo:input_type -> memos.api.v1.DeleteMemoRequest- 11, // 36: memos.api.v1.MemoService.ListMemoProperties:input_type -> memos.api.v1.ListMemoPropertiesRequest- 14, // 37: memos.api.v1.MemoService.RebuildMemoProperty:input_type -> memos.api.v1.RebuildMemoPropertyRequest- 15, // 38: memos.api.v1.MemoService.ListMemoTags:input_type -> memos.api.v1.ListMemoTagsRequest- 17, // 39: memos.api.v1.MemoService.RenameMemoTag:input_type -> memos.api.v1.RenameMemoTagRequest- 18, // 40: memos.api.v1.MemoService.DeleteMemoTag:input_type -> memos.api.v1.DeleteMemoTagRequest- 19, // 41: memos.api.v1.MemoService.SetMemoResources:input_type -> memos.api.v1.SetMemoResourcesRequest- 20, // 42: memos.api.v1.MemoService.ListMemoResources:input_type -> memos.api.v1.ListMemoResourcesRequest- 22, // 43: memos.api.v1.MemoService.SetMemoRelations:input_type -> memos.api.v1.SetMemoRelationsRequest- 23, // 44: memos.api.v1.MemoService.ListMemoRelations:input_type -> memos.api.v1.ListMemoRelationsRequest- 25, // 45: memos.api.v1.MemoService.CreateMemoComment:input_type -> memos.api.v1.CreateMemoCommentRequest- 26, // 46: memos.api.v1.MemoService.ListMemoComments:input_type -> memos.api.v1.ListMemoCommentsRequest- 28, // 47: memos.api.v1.MemoService.ListMemoReactions:input_type -> memos.api.v1.ListMemoReactionsRequest- 30, // 48: memos.api.v1.MemoService.UpsertMemoReaction:input_type -> memos.api.v1.UpsertMemoReactionRequest- 31, // 49: memos.api.v1.MemoService.DeleteMemoReaction:input_type -> memos.api.v1.DeleteMemoReactionRequest- 1, // 50: memos.api.v1.MemoService.CreateMemo:output_type -> memos.api.v1.Memo- 6, // 51: memos.api.v1.MemoService.ListMemos:output_type -> memos.api.v1.ListMemosResponse- 1, // 52: memos.api.v1.MemoService.GetMemo:output_type -> memos.api.v1.Memo- 1, // 53: memos.api.v1.MemoService.GetMemoByUid:output_type -> memos.api.v1.Memo- 1, // 54: memos.api.v1.MemoService.UpdateMemo:output_type -> memos.api.v1.Memo- 40, // 55: memos.api.v1.MemoService.DeleteMemo:output_type -> google.protobuf.Empty- 12, // 56: memos.api.v1.MemoService.ListMemoProperties:output_type -> memos.api.v1.ListMemoPropertiesResponse- 40, // 57: memos.api.v1.MemoService.RebuildMemoProperty:output_type -> google.protobuf.Empty- 16, // 58: memos.api.v1.MemoService.ListMemoTags:output_type -> memos.api.v1.ListMemoTagsResponse- 40, // 59: memos.api.v1.MemoService.RenameMemoTag:output_type -> google.protobuf.Empty- 40, // 60: memos.api.v1.MemoService.DeleteMemoTag:output_type -> google.protobuf.Empty- 40, // 61: memos.api.v1.MemoService.SetMemoResources:output_type -> google.protobuf.Empty- 21, // 62: memos.api.v1.MemoService.ListMemoResources:output_type -> memos.api.v1.ListMemoResourcesResponse- 40, // 63: memos.api.v1.MemoService.SetMemoRelations:output_type -> google.protobuf.Empty- 24, // 64: memos.api.v1.MemoService.ListMemoRelations:output_type -> memos.api.v1.ListMemoRelationsResponse- 1, // 65: memos.api.v1.MemoService.CreateMemoComment:output_type -> memos.api.v1.Memo- 27, // 66: memos.api.v1.MemoService.ListMemoComments:output_type -> memos.api.v1.ListMemoCommentsResponse- 29, // 67: memos.api.v1.MemoService.ListMemoReactions:output_type -> memos.api.v1.ListMemoReactionsResponse- 38, // 68: memos.api.v1.MemoService.UpsertMemoReaction:output_type -> memos.api.v1.Reaction- 40, // 69: memos.api.v1.MemoService.DeleteMemoReaction:output_type -> google.protobuf.Empty- 50, // [50:70] is the sub-list for method output_type- 30, // [30:50] is the sub-list for method input_type- 30, // [30:30] is the sub-list for extension type_name- 30, // [30:30] is the sub-list for extension extendee- 0, // [0:30] is the sub-list for field type_name+ 31, // 12: memos.api.v1.CreateMemoRequest.resources:type_name -> memos.api.v1.Resource+ 32, // 13: memos.api.v1.CreateMemoRequest.relations:type_name -> memos.api.v1.MemoRelation+ 4, // 14: memos.api.v1.CreateMemoRequest.location:type_name -> memos.api.v1.Location+ 1, // 15: memos.api.v1.ListMemosRequest.view:type_name -> memos.api.v1.MemoView+ 2, // 16: memos.api.v1.ListMemosResponse.memos:type_name -> memos.api.v1.Memo+ 2, // 17: memos.api.v1.UpdateMemoRequest.memo:type_name -> memos.api.v1.Memo+ 34, // 18: memos.api.v1.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask+ 31, // 19: memos.api.v1.SetMemoResourcesRequest.resources:type_name -> memos.api.v1.Resource+ 31, // 20: memos.api.v1.ListMemoResourcesResponse.resources:type_name -> memos.api.v1.Resource+ 32, // 21: memos.api.v1.SetMemoRelationsRequest.relations:type_name -> memos.api.v1.MemoRelation+ 32, // 22: memos.api.v1.ListMemoRelationsResponse.relations:type_name -> memos.api.v1.MemoRelation+ 5, // 23: memos.api.v1.CreateMemoCommentRequest.comment:type_name -> memos.api.v1.CreateMemoRequest+ 2, // 24: memos.api.v1.ListMemoCommentsResponse.memos:type_name -> memos.api.v1.Memo+ 33, // 25: memos.api.v1.ListMemoReactionsResponse.reactions:type_name -> memos.api.v1.Reaction+ 33, // 26: memos.api.v1.UpsertMemoReactionRequest.reaction:type_name -> memos.api.v1.Reaction+ 5, // 27: memos.api.v1.MemoService.CreateMemo:input_type -> memos.api.v1.CreateMemoRequest+ 6, // 28: memos.api.v1.MemoService.ListMemos:input_type -> memos.api.v1.ListMemosRequest+ 8, // 29: memos.api.v1.MemoService.GetMemo:input_type -> memos.api.v1.GetMemoRequest+ 9, // 30: memos.api.v1.MemoService.GetMemoByUid:input_type -> memos.api.v1.GetMemoByUidRequest+ 10, // 31: memos.api.v1.MemoService.UpdateMemo:input_type -> memos.api.v1.UpdateMemoRequest+ 11, // 32: memos.api.v1.MemoService.DeleteMemo:input_type -> memos.api.v1.DeleteMemoRequest+ 12, // 33: memos.api.v1.MemoService.RebuildMemoProperty:input_type -> memos.api.v1.RebuildMemoPropertyRequest+ 13, // 34: memos.api.v1.MemoService.RenameMemoTag:input_type -> memos.api.v1.RenameMemoTagRequest+ 14, // 35: memos.api.v1.MemoService.DeleteMemoTag:input_type -> memos.api.v1.DeleteMemoTagRequest+ 15, // 36: memos.api.v1.MemoService.SetMemoResources:input_type -> memos.api.v1.SetMemoResourcesRequest+ 16, // 37: memos.api.v1.MemoService.ListMemoResources:input_type -> memos.api.v1.ListMemoResourcesRequest+ 18, // 38: memos.api.v1.MemoService.SetMemoRelations:input_type -> memos.api.v1.SetMemoRelationsRequest+ 19, // 39: memos.api.v1.MemoService.ListMemoRelations:input_type -> memos.api.v1.ListMemoRelationsRequest+ 21, // 40: memos.api.v1.MemoService.CreateMemoComment:input_type -> memos.api.v1.CreateMemoCommentRequest+ 22, // 41: memos.api.v1.MemoService.ListMemoComments:input_type -> memos.api.v1.ListMemoCommentsRequest+ 24, // 42: memos.api.v1.MemoService.ListMemoReactions:input_type -> memos.api.v1.ListMemoReactionsRequest+ 26, // 43: memos.api.v1.MemoService.UpsertMemoReaction:input_type -> memos.api.v1.UpsertMemoReactionRequest+ 27, // 44: memos.api.v1.MemoService.DeleteMemoReaction:input_type -> memos.api.v1.DeleteMemoReactionRequest+ 2, // 45: memos.api.v1.MemoService.CreateMemo:output_type -> memos.api.v1.Memo+ 7, // 46: memos.api.v1.MemoService.ListMemos:output_type -> memos.api.v1.ListMemosResponse+ 2, // 47: memos.api.v1.MemoService.GetMemo:output_type -> memos.api.v1.Memo+ 2, // 48: memos.api.v1.MemoService.GetMemoByUid:output_type -> memos.api.v1.Memo+ 2, // 49: memos.api.v1.MemoService.UpdateMemo:output_type -> memos.api.v1.Memo+ 35, // 50: memos.api.v1.MemoService.DeleteMemo:output_type -> google.protobuf.Empty+ 35, // 51: memos.api.v1.MemoService.RebuildMemoProperty:output_type -> google.protobuf.Empty+ 35, // 52: memos.api.v1.MemoService.RenameMemoTag:output_type -> google.protobuf.Empty+ 35, // 53: memos.api.v1.MemoService.DeleteMemoTag:output_type -> google.protobuf.Empty+ 35, // 54: memos.api.v1.MemoService.SetMemoResources:output_type -> google.protobuf.Empty+ 17, // 55: memos.api.v1.MemoService.ListMemoResources:output_type -> memos.api.v1.ListMemoResourcesResponse+ 35, // 56: memos.api.v1.MemoService.SetMemoRelations:output_type -> google.protobuf.Empty+ 20, // 57: memos.api.v1.MemoService.ListMemoRelations:output_type -> memos.api.v1.ListMemoRelationsResponse+ 2, // 58: memos.api.v1.MemoService.CreateMemoComment:output_type -> memos.api.v1.Memo+ 23, // 59: memos.api.v1.MemoService.ListMemoComments:output_type -> memos.api.v1.ListMemoCommentsResponse+ 25, // 60: memos.api.v1.MemoService.ListMemoReactions:output_type -> memos.api.v1.ListMemoReactionsResponse+ 33, // 61: memos.api.v1.MemoService.UpsertMemoReaction:output_type -> memos.api.v1.Reaction+ 35, // 62: memos.api.v1.MemoService.DeleteMemoReaction:output_type -> google.protobuf.Empty+ 45, // [45:63] is the sub-list for method output_type+ 27, // [27:45] is the sub-list for method input_type+ 27, // [27:27] is the sub-list for extension type_name+ 27, // [27:27] is the sub-list for extension extendee+ 0, // [0:27] is the sub-list for field type_name}func init() { file_api_v1_memo_service_proto_init() }@@ -2639,42 +2374,6 @@ func file_api_v1_memo_service_proto_init() {}}file_api_v1_memo_service_proto_msgTypes[10].Exporter = func(v any, i int) any {- switch v := v.(*ListMemoPropertiesRequest); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v1_memo_service_proto_msgTypes[11].Exporter = func(v any, i int) any {- switch v := v.(*ListMemoPropertiesResponse); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v1_memo_service_proto_msgTypes[12].Exporter = func(v any, i int) any {- switch v := v.(*MemoPropertyEntity); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v1_memo_service_proto_msgTypes[13].Exporter = func(v any, i int) any {switch v := v.(*RebuildMemoPropertyRequest); i {case 0:return &v.state@@ -2686,31 +2385,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[14].Exporter = func(v any, i int) any {- switch v := v.(*ListMemoTagsRequest); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v1_memo_service_proto_msgTypes[15].Exporter = func(v any, i int) any {- switch v := v.(*ListMemoTagsResponse); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_api_v1_memo_service_proto_msgTypes[16].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[11].Exporter = func(v any, i int) any {switch v := v.(*RenameMemoTagRequest); i {case 0:return &v.state@@ -2722,7 +2397,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[17].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[12].Exporter = func(v any, i int) any {switch v := v.(*DeleteMemoTagRequest); i {case 0:return &v.state@@ -2734,7 +2409,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[18].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[13].Exporter = func(v any, i int) any {switch v := v.(*SetMemoResourcesRequest); i {case 0:return &v.state@@ -2746,7 +2421,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[19].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[14].Exporter = func(v any, i int) any {switch v := v.(*ListMemoResourcesRequest); i {case 0:return &v.state@@ -2758,7 +2433,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[20].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[15].Exporter = func(v any, i int) any {switch v := v.(*ListMemoResourcesResponse); i {case 0:return &v.state@@ -2770,7 +2445,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[21].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[16].Exporter = func(v any, i int) any {switch v := v.(*SetMemoRelationsRequest); i {case 0:return &v.state@@ -2782,7 +2457,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[22].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[17].Exporter = func(v any, i int) any {switch v := v.(*ListMemoRelationsRequest); i {case 0:return &v.state@@ -2794,7 +2469,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[23].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[18].Exporter = func(v any, i int) any {switch v := v.(*ListMemoRelationsResponse); i {case 0:return &v.state@@ -2806,7 +2481,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[24].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[19].Exporter = func(v any, i int) any {switch v := v.(*CreateMemoCommentRequest); i {case 0:return &v.state@@ -2818,7 +2493,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[25].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[20].Exporter = func(v any, i int) any {switch v := v.(*ListMemoCommentsRequest); i {case 0:return &v.state@@ -2830,7 +2505,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[26].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[21].Exporter = func(v any, i int) any {switch v := v.(*ListMemoCommentsResponse); i {case 0:return &v.state@@ -2842,7 +2517,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[27].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[22].Exporter = func(v any, i int) any {switch v := v.(*ListMemoReactionsRequest); i {case 0:return &v.state@@ -2854,7 +2529,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[28].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[23].Exporter = func(v any, i int) any {switch v := v.(*ListMemoReactionsResponse); i {case 0:return &v.state@@ -2866,7 +2541,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[29].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[24].Exporter = func(v any, i int) any {switch v := v.(*UpsertMemoReactionRequest); i {case 0:return &v.state@@ -2878,7 +2553,7 @@ func file_api_v1_memo_service_proto_init() {return nil}}- file_api_v1_memo_service_proto_msgTypes[30].Exporter = func(v any, i int) any {+ file_api_v1_memo_service_proto_msgTypes[25].Exporter = func(v any, i int) any {switch v := v.(*DeleteMemoReactionRequest); i {case 0:return &v.state@@ -2898,8 +2573,8 @@ func file_api_v1_memo_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_api_v1_memo_service_proto_rawDesc,- NumEnums: 1,- NumMessages: 32,+ NumEnums: 2,+ NumMessages: 26,NumExtensions: 0,NumServices: 1,},diff --git a/proto/gen/api/v1/memo_service.pb.gw.go b/proto/gen/api/v1/memo_service.pb.gw.goindex 81496b6ae..b9629129b 100644--- a/proto/gen/api/v1/memo_service.pb.gw.go+++ b/proto/gen/api/v1/memo_service.pb.gw.go@@ -349,58 +349,6 @@ func local_request_MemoService_DeleteMemo_0(ctx context.Context, marshaler runti}-func request_MemoService_ListMemoProperties_0(ctx context.Context, marshaler runtime.Marshaler, client MemoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListMemoPropertiesRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- msg, err := client.ListMemoProperties(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_MemoService_ListMemoProperties_0(ctx context.Context, marshaler runtime.Marshaler, server MemoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListMemoPropertiesRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- msg, err := server.ListMemoProperties(ctx, &protoReq)- return msg, metadata, err--}-func request_MemoService_RebuildMemoProperty_0(ctx context.Context, marshaler runtime.Marshaler, client MemoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {var protoReq RebuildMemoPropertyRequestvar metadata runtime.ServerMetadata@@ -461,76 +409,6 @@ func local_request_MemoService_RebuildMemoProperty_0(ctx context.Context, marsha}-var (- filter_MemoService_ListMemoTags_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}-)--func request_MemoService_ListMemoTags_0(ctx context.Context, marshaler runtime.Marshaler, client MemoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListMemoTagsRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_MemoService_ListMemoTags_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.ListMemoTags(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_MemoService_ListMemoTags_0(ctx context.Context, marshaler runtime.Marshaler, server MemoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListMemoTagsRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_MemoService_ListMemoTags_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.ListMemoTags(ctx, &protoReq)- return msg, metadata, err--}-func request_MemoService_RenameMemoTag_0(ctx context.Context, marshaler runtime.Marshaler, client MemoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {var protoReq RenameMemoTagRequestvar metadata runtime.ServerMetadata@@ -1338,31 +1216,6 @@ func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("GET", pattern_MemoService_ListMemoProperties_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.v1.MemoService/ListMemoProperties", runtime.WithHTTPPathPattern("/api/v1/{name=memos/*}/properties"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_MemoService_ListMemoProperties_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_ListMemoProperties_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("POST", pattern_MemoService_RebuildMemoProperty_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -1388,31 +1241,6 @@ func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("GET", pattern_MemoService_ListMemoTags_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.v1.MemoService/ListMemoTags", runtime.WithHTTPPathPattern("/api/v1/{parent=memos/*}/tags"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_MemoService_ListMemoTags_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_ListMemoTags_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("PATCH", pattern_MemoService_RenameMemoTag_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -1861,28 +1689,6 @@ func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("GET", pattern_MemoService_ListMemoProperties_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.v1.MemoService/ListMemoProperties", runtime.WithHTTPPathPattern("/api/v1/{name=memos/*}/properties"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_MemoService_ListMemoProperties_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_ListMemoProperties_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("POST", pattern_MemoService_RebuildMemoProperty_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -1905,28 +1711,6 @@ func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux})- mux.Handle("GET", pattern_MemoService_ListMemoTags_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.v1.MemoService/ListMemoTags", runtime.WithHTTPPathPattern("/api/v1/{parent=memos/*}/tags"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_MemoService_ListMemoTags_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_ListMemoTags_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("PATCH", pattern_MemoService_RenameMemoTag_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -2185,12 +1969,8 @@ var (pattern_MemoService_DeleteMemo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3}, []string{"api", "v1", "memos", "name"}, ""))- pattern_MemoService_ListMemoProperties_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"api", "v1", "memos", "name", "properties"}, ""))-pattern_MemoService_RebuildMemoProperty_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"api", "v1", "memos", "name", "properties"}, "rebuild"))- pattern_MemoService_ListMemoTags_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"api", "v1", "memos", "parent", "tags"}, ""))-pattern_MemoService_RenameMemoTag_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"api", "v1", "memos", "parent", "tags"}, "rename"))pattern_MemoService_DeleteMemoTag_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "memos", "parent", "tags", "tag"}, ""))@@ -2227,12 +2007,8 @@ var (forward_MemoService_DeleteMemo_0 = runtime.ForwardResponseMessage- forward_MemoService_ListMemoProperties_0 = runtime.ForwardResponseMessage-forward_MemoService_RebuildMemoProperty_0 = runtime.ForwardResponseMessage- forward_MemoService_ListMemoTags_0 = runtime.ForwardResponseMessage-forward_MemoService_RenameMemoTag_0 = runtime.ForwardResponseMessageforward_MemoService_DeleteMemoTag_0 = runtime.ForwardResponseMessagediff --git a/proto/gen/api/v1/memo_service_grpc.pb.go b/proto/gen/api/v1/memo_service_grpc.pb.goindex e57bf0adb..077f78fc0 100644--- a/proto/gen/api/v1/memo_service_grpc.pb.go+++ b/proto/gen/api/v1/memo_service_grpc.pb.go@@ -26,9 +26,7 @@ const (MemoService_GetMemoByUid_FullMethodName = "/memos.api.v1.MemoService/GetMemoByUid"MemoService_UpdateMemo_FullMethodName = "/memos.api.v1.MemoService/UpdateMemo"MemoService_DeleteMemo_FullMethodName = "/memos.api.v1.MemoService/DeleteMemo"- MemoService_ListMemoProperties_FullMethodName = "/memos.api.v1.MemoService/ListMemoProperties"MemoService_RebuildMemoProperty_FullMethodName = "/memos.api.v1.MemoService/RebuildMemoProperty"- MemoService_ListMemoTags_FullMethodName = "/memos.api.v1.MemoService/ListMemoTags"MemoService_RenameMemoTag_FullMethodName = "/memos.api.v1.MemoService/RenameMemoTag"MemoService_DeleteMemoTag_FullMethodName = "/memos.api.v1.MemoService/DeleteMemoTag"MemoService_SetMemoResources_FullMethodName = "/memos.api.v1.MemoService/SetMemoResources"@@ -58,12 +56,8 @@ type MemoServiceClient interface {UpdateMemo(ctx context.Context, in *UpdateMemoRequest, opts ...grpc.CallOption) (*Memo, error)// DeleteMemo deletes a memo.DeleteMemo(ctx context.Context, in *DeleteMemoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)- // ListMemoProperties lists memo properties.- ListMemoProperties(ctx context.Context, in *ListMemoPropertiesRequest, opts ...grpc.CallOption) (*ListMemoPropertiesResponse, error)// RebuildMemoProperty rebuilds a memo property.RebuildMemoProperty(ctx context.Context, in *RebuildMemoPropertyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)- // ListMemoTags lists tags for a memo.- ListMemoTags(ctx context.Context, in *ListMemoTagsRequest, opts ...grpc.CallOption) (*ListMemoTagsResponse, error)// RenameMemoTag renames a tag for a memo.RenameMemoTag(ctx context.Context, in *RenameMemoTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)// DeleteMemoTag deletes a tag for a memo.@@ -156,16 +150,6 @@ func (c *memoServiceClient) DeleteMemo(ctx context.Context, in *DeleteMemoRequesreturn out, nil}-func (c *memoServiceClient) ListMemoProperties(ctx context.Context, in *ListMemoPropertiesRequest, opts ...grpc.CallOption) (*ListMemoPropertiesResponse, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(ListMemoPropertiesResponse)- err := c.cc.Invoke(ctx, MemoService_ListMemoProperties_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-func (c *memoServiceClient) RebuildMemoProperty(ctx context.Context, in *RebuildMemoPropertyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)out := new(emptypb.Empty)@@ -176,16 +160,6 @@ func (c *memoServiceClient) RebuildMemoProperty(ctx context.Context, in *Rebuildreturn out, nil}-func (c *memoServiceClient) ListMemoTags(ctx context.Context, in *ListMemoTagsRequest, opts ...grpc.CallOption) (*ListMemoTagsResponse, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(ListMemoTagsResponse)- err := c.cc.Invoke(ctx, MemoService_ListMemoTags_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-func (c *memoServiceClient) RenameMemoTag(ctx context.Context, in *RenameMemoTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)out := new(emptypb.Empty)@@ -312,12 +286,8 @@ type MemoServiceServer interface {UpdateMemo(context.Context, *UpdateMemoRequest) (*Memo, error)// DeleteMemo deletes a memo.DeleteMemo(context.Context, *DeleteMemoRequest) (*emptypb.Empty, error)- // ListMemoProperties lists memo properties.- ListMemoProperties(context.Context, *ListMemoPropertiesRequest) (*ListMemoPropertiesResponse, error)// RebuildMemoProperty rebuilds a memo property.RebuildMemoProperty(context.Context, *RebuildMemoPropertyRequest) (*emptypb.Empty, error)- // ListMemoTags lists tags for a memo.- ListMemoTags(context.Context, *ListMemoTagsRequest) (*ListMemoTagsResponse, error)// RenameMemoTag renames a tag for a memo.RenameMemoTag(context.Context, *RenameMemoTagRequest) (*emptypb.Empty, error)// DeleteMemoTag deletes a tag for a memo.@@ -368,15 +338,9 @@ func (UnimplementedMemoServiceServer) UpdateMemo(context.Context, *UpdateMemoReqfunc (UnimplementedMemoServiceServer) DeleteMemo(context.Context, *DeleteMemoRequest) (*emptypb.Empty, error) {return nil, status.Errorf(codes.Unimplemented, "method DeleteMemo not implemented")}-func (UnimplementedMemoServiceServer) ListMemoProperties(context.Context, *ListMemoPropertiesRequest) (*ListMemoPropertiesResponse, error) {- return nil, status.Errorf(codes.Unimplemented, "method ListMemoProperties not implemented")-}func (UnimplementedMemoServiceServer) RebuildMemoProperty(context.Context, *RebuildMemoPropertyRequest) (*emptypb.Empty, error) {return nil, status.Errorf(codes.Unimplemented, "method RebuildMemoProperty not implemented")}-func (UnimplementedMemoServiceServer) ListMemoTags(context.Context, *ListMemoTagsRequest) (*ListMemoTagsResponse, error) {- return nil, status.Errorf(codes.Unimplemented, "method ListMemoTags not implemented")-}func (UnimplementedMemoServiceServer) RenameMemoTag(context.Context, *RenameMemoTagRequest) (*emptypb.Empty, error) {return nil, status.Errorf(codes.Unimplemented, "method RenameMemoTag not implemented")}@@ -539,24 +503,6 @@ func _MemoService_DeleteMemo_Handler(srv interface{}, ctx context.Context, dec freturn interceptor(ctx, in, info, handler)}-func _MemoService_ListMemoProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(ListMemoPropertiesRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(MemoServiceServer).ListMemoProperties(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: MemoService_ListMemoProperties_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(MemoServiceServer).ListMemoProperties(ctx, req.(*ListMemoPropertiesRequest))- }- return interceptor(ctx, in, info, handler)-}-func _MemoService_RebuildMemoProperty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(RebuildMemoPropertyRequest)if err := dec(in); err != nil {@@ -575,24 +521,6 @@ func _MemoService_RebuildMemoProperty_Handler(srv interface{}, ctx context.Contereturn interceptor(ctx, in, info, handler)}-func _MemoService_ListMemoTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(ListMemoTagsRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(MemoServiceServer).ListMemoTags(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: MemoService_ListMemoTags_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(MemoServiceServer).ListMemoTags(ctx, req.(*ListMemoTagsRequest))- }- return interceptor(ctx, in, info, handler)-}-func _MemoService_RenameMemoTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(RenameMemoTagRequest)if err := dec(in); err != nil {@@ -822,18 +750,10 @@ var MemoService_ServiceDesc = grpc.ServiceDesc{MethodName: "DeleteMemo",Handler: _MemoService_DeleteMemo_Handler,},- {- MethodName: "ListMemoProperties",- Handler: _MemoService_ListMemoProperties_Handler,- },{MethodName: "RebuildMemoProperty",Handler: _MemoService_RebuildMemoProperty_Handler,},- {- MethodName: "ListMemoTags",- Handler: _MemoService_ListMemoTags_Handler,- },{MethodName: "RenameMemoTag",Handler: _MemoService_RenameMemoTag_Handler,diff --git a/proto/gen/apidocs.swagger.yaml b/proto/gen/apidocs.swagger.yamlindex 61ea6f5e4..e4f8cd937 100644--- a/proto/gen/apidocs.swagger.yaml+++ b/proto/gen/apidocs.swagger.yaml@@ -313,6 +313,20 @@ paths:in: queryrequired: falsetype: string+ - name: view+ description: |-+ The view of the memo.++ - MEMO_VIEW_FULL: The full view of the memo. Includes all fields.+ - MEMO_VIEW_METADATA_ONLY: The metadata only view of the memo. Excludes the content/snippet fields.+ in: query+ required: false+ type: string+ enum:+ - MEMO_VIEW_UNSPECIFIED+ - MEMO_VIEW_FULL+ - MEMO_VIEW_METADATA_ONLY+ default: MEMO_VIEW_UNSPECIFIEDtags:- MemoServicepost:@@ -1253,30 +1267,6 @@ paths:$ref: '#/definitions/v1CreateMemoRequest'tags:- MemoService- /api/v1/{name}/properties:- get:- summary: ListMemoProperties lists memo properties.- operationId: MemoService_ListMemoProperties- responses:- "200":- description: A successful response.- schema:- $ref: '#/definitions/v1ListMemoPropertiesResponse'- default:- description: An unexpected error response.- schema:- $ref: '#/definitions/googlerpcStatus'- parameters:- - name: name- description: |-- The name of the memo.- Format: memos/{id}. Use "memos/-" to list all properties.- in: path- required: true- type: string- pattern: memos/[^/]+- tags:- - MemoService/api/v1/{name}/properties:rebuild:post:summary: RebuildMemoProperty rebuilds a memo property.@@ -1489,37 +1479,6 @@ paths:pattern: users/[^/]+tags:- UserService- /api/v1/{parent}/tags:- get:- summary: ListMemoTags lists tags for a memo.- operationId: MemoService_ListMemoTags- responses:- "200":- description: A successful response.- schema:- $ref: '#/definitions/v1ListMemoTagsResponse'- default:- description: An unexpected error response.- schema:- $ref: '#/definitions/googlerpcStatus'- parameters:- - name: parent- description: |-- The parent, who owns the tags.- Format: memos/{id}. Use "memos/-" to list all tags.- in: path- required: true- type: string- pattern: memos/[^/]+- - name: filter- description: |-- Filter is used to filter memos.- Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"- in: query- required: false- type: string- tags:- - MemoService/api/v1/{parent}/tags/{tag}:delete:summary: DeleteMemoTag deletes a tag for a memo.@@ -2532,14 +2491,6 @@ definitions:items:type: object$ref: '#/definitions/v1Memo'- v1ListMemoPropertiesResponse:- type: object- properties:- entities:- type: array- items:- type: object- $ref: '#/definitions/v1MemoPropertyEntity'v1ListMemoReactionsResponse:type: objectproperties:@@ -2564,18 +2515,6 @@ definitions:items:type: object$ref: '#/definitions/v1Resource'- v1ListMemoTagsResponse:- type: object- properties:- tagAmounts:- type: object- additionalProperties:- type: integer- format: int32- description: |-- tag_amounts is the amount of tags.- key is the tag name. e.g. "tag1".- value is the amount of the tag.v1ListMemosResponse:type: objectproperties:@@ -2734,21 +2673,6 @@ definitions:type: booleanhasIncompleteTasks:type: boolean- v1MemoPropertyEntity:- type: object- properties:- name:- type: string- title: |-- The name of the memo property.- Format: memos/{id}/properties/{property_id}- property:- $ref: '#/definitions/v1MemoProperty'- readOnly: true- displayTime:- type: string- format: date-time- readOnly: truev1MemoRelation:type: objectproperties:@@ -2771,6 +2695,16 @@ definitions:- REFERENCE- COMMENTdefault: TYPE_UNSPECIFIED+ v1MemoView:+ type: string+ enum:+ - MEMO_VIEW_UNSPECIFIED+ - MEMO_VIEW_FULL+ - MEMO_VIEW_METADATA_ONLY+ default: MEMO_VIEW_UNSPECIFIED+ description: |2-+ - MEMO_VIEW_FULL: The full view of the memo. Includes all fields.+ - MEMO_VIEW_METADATA_ONLY: The metadata only view of the memo. Excludes the content/snippet fields.v1Node:type: objectproperties:diff --git a/server/router/api/v1/acl_config.go b/server/router/api/v1/acl_config.goindex a1d840380..f3e486507 100644--- a/server/router/api/v1/acl_config.go+++ b/server/router/api/v1/acl_config.go@@ -17,7 +17,6 @@ var authenticationAllowlistMethods = map[string]bool{"/memos.api.v1.MemoService/GetMemo": true,"/memos.api.v1.MemoService/GetMemoByUid": true,"/memos.api.v1.MemoService/ListMemos": true,- "/memos.api.v1.MemoService/ListMemoTags": true,"/memos.api.v1.MarkdownService/GetLinkMetadata": true,"/memos.api.v1.ResourceService/GetResourceBinary": true,"/memos.api.v1.ResourceService/GetResourceByUid": true,diff --git a/server/router/api/v1/memo_service.go b/server/router/api/v1/memo_service.goindex f9e5c10e1..3be446dc2 100644--- a/server/router/api/v1/memo_service.go+++ b/server/router/api/v1/memo_service.go@@ -93,7 +93,7 @@ func (s *APIV1Service) CreateMemo(ctx context.Context, request *v1pb.CreateMemoR}}- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_FULL)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -131,6 +131,9 @@ func (s *APIV1Service) ListMemos(ctx context.Context, request *v1pb.ListMemosReqlimitPlusOne := limit + 1memoFind.Limit = &limitPlusOnememoFind.Offset = &offset+ if request.View == v1pb.MemoView_MEMO_VIEW_METADATA_ONLY {+ memoFind.ExcludeContent = true+ }memos, err := s.Store.ListMemos(ctx, memoFind)if err != nil {return nil, status.Errorf(codes.Internal, "failed to list memos: %v", err)@@ -146,7 +149,7 @@ func (s *APIV1Service) ListMemos(ctx context.Context, request *v1pb.ListMemosReq}}for _, memo := range memos {- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, request.View)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -187,7 +190,7 @@ func (s *APIV1Service) GetMemo(ctx context.Context, request *v1pb.GetMemoRequest}}- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_FULL)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -218,7 +221,7 @@ func (s *APIV1Service) GetMemoByUid(ctx context.Context, request *v1pb.GetMemoBy}}- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_FULL)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -347,7 +350,7 @@ func (s *APIV1Service) UpdateMemo(ctx context.Context, request *v1pb.UpdateMemoRif err != nil {return nil, errors.Wrap(err, "failed to get memo")}- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_FULL)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -383,7 +386,7 @@ func (s *APIV1Service) DeleteMemo(ctx context.Context, request *v1pb.DeleteMemoRreturn nil, status.Errorf(codes.PermissionDenied, "permission denied")}- if memoMessage, err := s.convertMemoFromStore(ctx, memo); err == nil {+ if memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_METADATA_ONLY); err == nil {// Try to dispatch webhook when memo is deleted.if err := s.DispatchMemoDeletedWebhook(ctx, memoMessage); err != nil {slog.Warn("Failed to dispatch memo deleted webhook", slog.Any("err", err))@@ -518,7 +521,7 @@ func (s *APIV1Service) ListMemoComments(ctx context.Context, request *v1pb.ListMreturn nil, status.Errorf(codes.Internal, "failed to get memo")}if memo != nil {- memoMessage, err := s.convertMemoFromStore(ctx, memo)+ memoMessage, err := s.convertMemoFromStore(ctx, memo, v1pb.MemoView_MEMO_VIEW_FULL)if err != nil {return nil, errors.Wrap(err, "failed to convert memo")}@@ -532,58 +535,6 @@ func (s *APIV1Service) ListMemoComments(ctx context.Context, request *v1pb.ListMreturn response, nil}-func (s *APIV1Service) ListMemoProperties(ctx context.Context, request *v1pb.ListMemoPropertiesRequest) (*v1pb.ListMemoPropertiesResponse, error) {- user, err := s.GetCurrentUser(ctx)- if err != nil {- return nil, status.Errorf(codes.Internal, "failed to get current user")- }-- normalRowStatus := store.Normal- memoFind := &store.FindMemo{- CreatorID: &user.ID,- RowStatus: &normalRowStatus,- ExcludeComments: true,- // Default exclude content for performance.- ExcludeContent: true,- }- if request.Name != "memos/-" {- memoID, err := ExtractMemoIDFromName(request.Name)- if err != nil {- return nil, status.Errorf(codes.InvalidArgument, "invalid memo name: %v", err)- }- memoFind.ID = &memoID- }-- memos, err := s.Store.ListMemos(ctx, memoFind)- if err != nil {- return nil, status.Errorf(codes.Internal, "failed to list memos")- }-- workspaceMemoRelatedSetting, err := s.Store.GetWorkspaceMemoRelatedSetting(ctx)- if err != nil {- return nil, errors.Wrap(err, "failed to get workspace memo related setting")- }-- entities := []*v1pb.MemoPropertyEntity{}- for _, memo := range memos {- displayTs := memo.CreatedTs- if workspaceMemoRelatedSetting.DisplayWithUpdateTime {- displayTs = memo.UpdatedTs- }- entity := &v1pb.MemoPropertyEntity{- Name: fmt.Sprintf("%s%d", MemoNamePrefix, memo.ID),- DisplayTime: timestamppb.New(time.Unix(displayTs, 0)),- }- if memo.Payload.Property != nil {- entity.Property = convertMemoPropertyFromStore(memo.Payload.Property)- }- entities = append(entities, entity)- }- return &v1pb.ListMemoPropertiesResponse{- Entities: entities,- }, nil-}-func (s *APIV1Service) RebuildMemoProperty(ctx context.Context, request *v1pb.RebuildMemoPropertyRequest) (*emptypb.Empty, error) {user, err := s.GetCurrentUser(ctx)if err != nil {@@ -626,42 +577,6 @@ func (s *APIV1Service) RebuildMemoProperty(ctx context.Context, request *v1pb.Rereturn &emptypb.Empty{}, nil}-func (s *APIV1Service) ListMemoTags(ctx context.Context, request *v1pb.ListMemoTagsRequest) (*v1pb.ListMemoTagsResponse, error) {- normalRowStatus := store.Normal- memoFind := &store.FindMemo{- RowStatus: &normalRowStatus,- ExcludeComments: true,- // Default exclude content for performance.- ExcludeContent: true,- }- if (request.Parent) != "memos/-" {- memoID, err := ExtractMemoIDFromName(request.Parent)- if err != nil {- return nil, status.Errorf(codes.InvalidArgument, "invalid memo name: %v", err)- }- memoFind.ID = &memoID- }- if err := s.buildMemoFindWithFilter(ctx, memoFind, request.Filter); err != nil {- return nil, status.Errorf(codes.InvalidArgument, "failed to build find memos with filter: %v", err)- }-- memos, err := s.Store.ListMemos(ctx, memoFind)- if err != nil {- return nil, status.Errorf(codes.Internal, "failed to list memos")- }- tagAmounts := map[string]int32{}- for _, memo := range memos {- if memo.Payload.Property != nil {- for _, tag := range memo.Payload.Property.Tags {- tagAmounts[tag]++- }- }- }- return &v1pb.ListMemoTagsResponse{- TagAmounts: tagAmounts,- }, nil-}-func (s *APIV1Service) RenameMemoTag(ctx context.Context, request *v1pb.RenameMemoTagRequest) (*emptypb.Empty, error) {user, err := s.GetCurrentUser(ctx)if err != nil {@@ -762,7 +677,7 @@ func (s *APIV1Service) DeleteMemoTag(ctx context.Context, request *v1pb.DeleteMereturn &emptypb.Empty{}, nil}-func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Memo) (*v1pb.Memo, error) {+func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Memo, view v1pb.MemoView) (*v1pb.Memo, error) {displayTs := memo.CreatedTsworkspaceMemoRelatedSetting, err := s.Store.GetWorkspaceMemoRelatedSetting(ctx)if err != nil {@@ -773,31 +688,6 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Mem}name := fmt.Sprintf("%s%d", MemoNamePrefix, memo.ID)- listMemoRelationsResponse, err := s.ListMemoRelations(ctx, &v1pb.ListMemoRelationsRequest{Name: name})- if err != nil {- return nil, errors.Wrap(err, "failed to list memo relations")- }-- listMemoResourcesResponse, err := s.ListMemoResources(ctx, &v1pb.ListMemoResourcesRequest{Name: name})- if err != nil {- return nil, errors.Wrap(err, "failed to list memo resources")- }-- listMemoReactionsResponse, err := s.ListMemoReactions(ctx, &v1pb.ListMemoReactionsRequest{Name: name})- if err != nil {- return nil, errors.Wrap(err, "failed to list memo reactions")- }-- nodes, err := parser.Parse(tokenizer.Tokenize(memo.Content))- if err != nil {- return nil, errors.Wrap(err, "failed to parse content")- }-- snippet, err := getMemoContentSnippet(memo.Content)- if err != nil {- return nil, errors.Wrap(err, "failed to get memo content snippet")- }-memoMessage := &v1pb.Memo{Name: name,Uid: memo.UID,@@ -807,13 +697,8 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.MemUpdateTime: timestamppb.New(time.Unix(memo.UpdatedTs, 0)),DisplayTime: timestamppb.New(time.Unix(displayTs, 0)),Content: memo.Content,- Snippet: snippet,- Nodes: convertFromASTNodes(nodes),Visibility: convertVisibilityFromStore(memo.Visibility),Pinned: memo.Pinned,- Relations: listMemoRelationsResponse.Relations,- Resources: listMemoResourcesResponse.Resources,- Reactions: listMemoReactionsResponse.Reactions,}if memo.Payload != nil {memoMessage.Property = convertMemoPropertyFromStore(memo.Payload.Property)@@ -823,6 +708,40 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Memparent := fmt.Sprintf("%s%d", MemoNamePrefix, *memo.ParentID)memoMessage.Parent = &parent}++ // Fill content when view is MEMO_VIEW_FULL.+ if view == v1pb.MemoView_MEMO_VIEW_FULL {+ listMemoRelationsResponse, err := s.ListMemoRelations(ctx, &v1pb.ListMemoRelationsRequest{Name: name})+ if err != nil {+ return nil, errors.Wrap(err, "failed to list memo relations")+ }+ memoMessage.Relations = listMemoRelationsResponse.Relations++ listMemoResourcesResponse, err := s.ListMemoResources(ctx, &v1pb.ListMemoResourcesRequest{Name: name})+ if err != nil {+ return nil, errors.Wrap(err, "failed to list memo resources")+ }+ memoMessage.Resources = listMemoResourcesResponse.Resources++ listMemoReactionsResponse, err := s.ListMemoReactions(ctx, &v1pb.ListMemoReactionsRequest{Name: name})+ if err != nil {+ return nil, errors.Wrap(err, "failed to list memo reactions")+ }+ memoMessage.Reactions = listMemoReactionsResponse.Reactions++ nodes, err := parser.Parse(tokenizer.Tokenize(memo.Content))+ if err != nil {+ return nil, errors.Wrap(err, "failed to parse content")+ }+ memoMessage.Nodes = convertFromASTNodes(nodes)++ snippet, err := getMemoContentSnippet(memo.Content)+ if err != nil {+ return nil, errors.Wrap(err, "failed to get memo content snippet")+ }+ memoMessage.Snippet = snippet+ }+return memoMessage, nil}diff --git a/web/src/components/UserStatisticsView.tsx b/web/src/components/UserStatisticsView.tsxindex ccd69f1b5..9718737fc 100644--- a/web/src/components/UserStatisticsView.tsx+++ b/web/src/components/UserStatisticsView.tsx@@ -20,10 +20,14 @@ import useAsyncEffect from "@/hooks/useAsyncEffect";import useCurrentUser from "@/hooks/useCurrentUser";import i18n from "@/i18n";import { useMemoFilterStore, useMemoList, useMemoStore } from "@/store/v1";+import { MemoView } from "@/types/proto/api/v1/memo_service";import { useTranslate } from "@/utils/i18n";import ActivityCalendar from "./ActivityCalendar";import { Popover, PopoverContent, PopoverTrigger } from "./ui/Popover";+// Set the maximum number of memos to fetch.+const DEFAULT_MEMO_PAGE_SIZE = 1000000;+interface UserMemoStats {link: number;taskList: number;@@ -47,12 +51,13 @@ const UserStatisticsView = () => {useAsyncEffect(async () => {if (memoList.size() === 0) return;- const { entities } = await memoServiceClient.listMemoProperties({- name: `memos/-`,+ const { memos } = await memoServiceClient.listMemos({+ pageSize: DEFAULT_MEMO_PAGE_SIZE,+ view: MemoView.MEMO_VIEW_METADATA_ONLY,});const memoStats: UserMemoStats = { link: 0, taskList: 0, code: 0, incompleteTasks: 0 };- entities.forEach((entity) => {- const { property } = entity;+ memos.forEach((memo) => {+ const { property } = memo;if (property?.hasLink) {memoStats.link += 1;}@@ -67,11 +72,11 @@ const UserStatisticsView = () => {}});setMemoStats(memoStats);- setMemoAmount(entities.length);- setActivityStats(countBy(entities.map((entity) => dayjs(entity.displayTime).format("YYYY-MM-DD"))));+ setMemoAmount(memos.length);+ setActivityStats(countBy(memos.map((memo) => dayjs(memo.displayTime).format("YYYY-MM-DD"))));}, [memoStore.stateId]);- const rebuildMemoTags = async () => {+ const rebuildMemoProperty = async () => {await memoServiceClient.rebuildMemoProperty({name: "memos/-",});@@ -112,7 +117,7 @@ const UserStatisticsView = () => {<MoreVerticalIcon className="w-4 h-auto shrink-0 opacity-60" /></PopoverTrigger><PopoverContent align="end" alignOffset={-12}>- <button className="w-auto flex flex-row justify-between items-center gap-2 hover:opacity-80" onClick={rebuildMemoTags}>+ <button className="w-auto flex flex-row justify-between items-center gap-2 hover:opacity-80" onClick={rebuildMemoProperty}><RefreshCcwIcon className="text-gray-400 w-4 h-auto cursor-pointer opacity-60" /><span className="text-sm shrink-0 text-gray-500 dark:text-gray-400">Rebuild properties</span></button>diff --git a/web/src/store/v1/tag.ts b/web/src/store/v1/tag.tsindex 36850e422..8f989aa8d 100644--- a/web/src/store/v1/tag.ts+++ b/web/src/store/v1/tag.ts@@ -3,8 +3,12 @@ import { create } from "zustand";import { combine } from "zustand/middleware";import { memoServiceClient } from "@/grpcweb";import { Routes } from "@/router";+import { MemoView } from "@/types/proto/api/v1/memo_service";import { User } from "@/types/proto/api/v1/user_service";+// Set the maximum number of memos to fetch.+const DEFAULT_MEMO_PAGE_SIZE = 1000000;+interface State {tagAmounts: Record<string, number>;}@@ -37,7 +41,21 @@ export const useTagStore = create(} else {filters.push(`visibilities == ["PUBLIC"]`);}- const { tagAmounts } = await memoServiceClient.listMemoTags({ parent: "memos/-", filter: filters.join(" && ") });+ const { memos } = await memoServiceClient.listMemos({+ pageSize: DEFAULT_MEMO_PAGE_SIZE,+ filter: filters.join(" && "),+ view: MemoView.MEMO_VIEW_METADATA_ONLY,+ });+ const tagAmounts: Record<string, number> = {};+ memos.forEach((memo) => {+ memo.property?.tags.forEach((tag) => {+ if (tagAmounts[tag]) {+ tagAmounts[tag] += 1;+ } else {+ tagAmounts[tag] = 1;+ }+ });+ });set({ tagAmounts });},})),