@ -124,7 +124,7 @@ func (x MemoRelation_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use MemoRelation_Type.Descriptor instead.
func ( MemoRelation_Type ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 4 , 0 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 2 , 0 }
}
type Reaction struct {
@ -473,11 +473,7 @@ type CreateMemoRequest struct {
Memo * Memo ` protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty" `
// Optional. The memo ID to use for this memo.
// If empty, a unique ID will be generated.
MemoId string ` protobuf:"bytes,2,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty" `
// Optional. If set, validate the request but don't actually create the memo.
ValidateOnly bool ` protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty" `
// Optional. An idempotency token.
RequestId string ` protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty" `
MemoId string ` protobuf:"bytes,2,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -526,20 +522,6 @@ func (x *CreateMemoRequest) GetMemoId() string {
return ""
}
func ( x * CreateMemoRequest ) GetValidateOnly ( ) bool {
if x != nil {
return x . ValidateOnly
}
return false
}
func ( x * CreateMemoRequest ) GetRequestId ( ) string {
if x != nil {
return x . RequestId
}
return ""
}
type ListMemosRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Optional. The maximum number of memos to return.
@ -648,8 +630,6 @@ type ListMemosResponse struct {
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string ` protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty" `
// The total count of memos (may be approximate).
TotalSize int32 ` protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -698,21 +678,11 @@ func (x *ListMemosResponse) GetNextPageToken() string {
return ""
}
func ( x * ListMemosResponse ) GetTotalSize ( ) int32 {
if x != nil {
return x . TotalSize
}
return 0
}
type GetMemoRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The resource name of the memo.
// Format: memos/{memo}
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
// Optional. The fields to return in the response.
// If not specified, all fields are returned.
ReadMask * fieldmaskpb . FieldMask ` protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty" `
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -754,22 +724,13 @@ func (x *GetMemoRequest) GetName() string {
return ""
}
func ( x * GetMemoRequest ) GetReadMask ( ) * fieldmaskpb . FieldMask {
if x != nil {
return x . ReadMask
}
return nil
}
type UpdateMemoRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The memo to update.
// The `name` field is required.
Memo * Memo ` protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty" `
// Required. The list of fields to update.
UpdateMask * fieldmaskpb . FieldMask ` protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty" `
// Optional. If set to true, allows updating sensitive fields.
AllowMissing bool ` protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" `
UpdateMask * fieldmaskpb . FieldMask ` protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -818,13 +779,6 @@ func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
return nil
}
func ( x * UpdateMemoRequest ) GetAllowMissing ( ) bool {
if x != nil {
return x . AllowMissing
}
return false
}
type DeleteMemoRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The resource name of the memo to delete.
@ -880,134 +834,6 @@ func (x *DeleteMemoRequest) GetForce() bool {
return false
}
type RenameMemoTagRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The parent, who owns the tags.
// Format: memos/{memo}. Use "memos/-" to rename all tags.
Parent string ` protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty" `
// Required. The old tag name to rename.
OldTag string ` protobuf:"bytes,2,opt,name=old_tag,json=oldTag,proto3" json:"old_tag,omitempty" `
// Required. The new tag name.
NewTag string ` protobuf:"bytes,3,opt,name=new_tag,json=newTag,proto3" json:"new_tag,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * RenameMemoTagRequest ) Reset ( ) {
* x = RenameMemoTagRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * RenameMemoTagRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * RenameMemoTagRequest ) ProtoMessage ( ) { }
func ( x * RenameMemoTagRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 9 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use RenameMemoTagRequest.ProtoReflect.Descriptor instead.
func ( * RenameMemoTagRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 9 }
}
func ( x * RenameMemoTagRequest ) GetParent ( ) string {
if x != nil {
return x . Parent
}
return ""
}
func ( x * RenameMemoTagRequest ) GetOldTag ( ) string {
if x != nil {
return x . OldTag
}
return ""
}
func ( x * RenameMemoTagRequest ) GetNewTag ( ) string {
if x != nil {
return x . NewTag
}
return ""
}
type DeleteMemoTagRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The parent, who owns the tags.
// Format: memos/{memo}. Use "memos/-" to delete all tags.
Parent string ` protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty" `
// Required. The tag name to delete.
Tag string ` protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty" `
// Optional. Whether to delete related memos.
DeleteRelatedMemos bool ` protobuf:"varint,3,opt,name=delete_related_memos,json=deleteRelatedMemos,proto3" json:"delete_related_memos,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * DeleteMemoTagRequest ) Reset ( ) {
* x = DeleteMemoTagRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 10 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * DeleteMemoTagRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * DeleteMemoTagRequest ) ProtoMessage ( ) { }
func ( x * DeleteMemoTagRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 10 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use DeleteMemoTagRequest.ProtoReflect.Descriptor instead.
func ( * DeleteMemoTagRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 10 }
}
func ( x * DeleteMemoTagRequest ) GetParent ( ) string {
if x != nil {
return x . Parent
}
return ""
}
func ( x * DeleteMemoTagRequest ) GetTag ( ) string {
if x != nil {
return x . Tag
}
return ""
}
func ( x * DeleteMemoTagRequest ) GetDeleteRelatedMemos ( ) bool {
if x != nil {
return x . DeleteRelatedMemos
}
return false
}
type SetMemoAttachmentsRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The resource name of the memo.
@ -1021,7 +847,7 @@ type SetMemoAttachmentsRequest struct {
func ( x * SetMemoAttachmentsRequest ) Reset ( ) {
* x = SetMemoAttachmentsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 11 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1033,7 +859,7 @@ func (x *SetMemoAttachmentsRequest) String() string {
func ( * SetMemoAttachmentsRequest ) ProtoMessage ( ) { }
func ( x * SetMemoAttachmentsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 11 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 9 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1046,7 +872,7 @@ func (x *SetMemoAttachmentsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetMemoAttachmentsRequest.ProtoReflect.Descriptor instead.
func ( * SetMemoAttachmentsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 11 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 9 }
}
func ( x * SetMemoAttachmentsRequest ) GetName ( ) string {
@ -1078,7 +904,7 @@ type ListMemoAttachmentsRequest struct {
func ( x * ListMemoAttachmentsRequest ) Reset ( ) {
* x = ListMemoAttachmentsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 2 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1090,7 +916,7 @@ func (x *ListMemoAttachmentsRequest) String() string {
func ( * ListMemoAttachmentsRequest ) ProtoMessage ( ) { }
func ( x * ListMemoAttachmentsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 2 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 0 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1103,7 +929,7 @@ func (x *ListMemoAttachmentsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMemoAttachmentsRequest.ProtoReflect.Descriptor instead.
func ( * ListMemoAttachmentsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 2 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 0 }
}
func ( x * ListMemoAttachmentsRequest ) GetName ( ) string {
@ -1133,15 +959,13 @@ type ListMemoAttachmentsResponse struct {
Attachments [ ] * Attachment ` protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty" `
// A token for the next page of results.
NextPageToken string ` protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty" `
// The total count of attachments.
TotalSize int32 ` protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * ListMemoAttachmentsResponse ) Reset ( ) {
* x = ListMemoAttachmentsResponse { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 3 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1153,7 +977,7 @@ func (x *ListMemoAttachmentsResponse) String() string {
func ( * ListMemoAttachmentsResponse ) ProtoMessage ( ) { }
func ( x * ListMemoAttachmentsResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 3 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 1 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1166,7 +990,7 @@ func (x *ListMemoAttachmentsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMemoAttachmentsResponse.ProtoReflect.Descriptor instead.
func ( * ListMemoAttachmentsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 3 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 1 }
}
func ( x * ListMemoAttachmentsResponse ) GetAttachments ( ) [ ] * Attachment {
@ -1183,13 +1007,6 @@ func (x *ListMemoAttachmentsResponse) GetNextPageToken() string {
return ""
}
func ( x * ListMemoAttachmentsResponse ) GetTotalSize ( ) int32 {
if x != nil {
return x . TotalSize
}
return 0
}
type MemoRelation struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// The memo in the relation.
@ -1203,7 +1020,7 @@ type MemoRelation struct {
func ( x * MemoRelation ) Reset ( ) {
* x = MemoRelation { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 4 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1215,7 +1032,7 @@ func (x *MemoRelation) String() string {
func ( * MemoRelation ) ProtoMessage ( ) { }
func ( x * MemoRelation ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 4 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 2 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1228,7 +1045,7 @@ func (x *MemoRelation) ProtoReflect() protoreflect.Message {
// Deprecated: Use MemoRelation.ProtoReflect.Descriptor instead.
func ( * MemoRelation ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 4 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 2 }
}
func ( x * MemoRelation ) GetMemo ( ) * MemoRelation_Memo {
@ -1265,7 +1082,7 @@ type SetMemoRelationsRequest struct {
func ( x * SetMemoRelationsRequest ) Reset ( ) {
* x = SetMemoRelationsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 5 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1277,7 +1094,7 @@ func (x *SetMemoRelationsRequest) String() string {
func ( * SetMemoRelationsRequest ) ProtoMessage ( ) { }
func ( x * SetMemoRelationsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 5 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 3 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1290,7 +1107,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 { 1 5 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 3 }
}
func ( x * SetMemoRelationsRequest ) GetName ( ) string {
@ -1322,7 +1139,7 @@ type ListMemoRelationsRequest struct {
func ( x * ListMemoRelationsRequest ) Reset ( ) {
* x = ListMemoRelationsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 6 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1334,7 +1151,7 @@ func (x *ListMemoRelationsRequest) String() string {
func ( * ListMemoRelationsRequest ) ProtoMessage ( ) { }
func ( x * ListMemoRelationsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 6 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 4 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1347,7 +1164,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 { 1 6 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 4 }
}
func ( x * ListMemoRelationsRequest ) GetName ( ) string {
@ -1377,15 +1194,13 @@ type ListMemoRelationsResponse struct {
Relations [ ] * MemoRelation ` protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty" `
// A token for the next page of results.
NextPageToken string ` protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty" `
// The total count of relations.
TotalSize int32 ` protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * ListMemoRelationsResponse ) Reset ( ) {
* x = ListMemoRelationsResponse { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 7 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1397,7 +1212,7 @@ func (x *ListMemoRelationsResponse) String() string {
func ( * ListMemoRelationsResponse ) ProtoMessage ( ) { }
func ( x * ListMemoRelationsResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 7 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 5 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1410,7 +1225,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 { 1 7 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 5 }
}
func ( x * ListMemoRelationsResponse ) GetRelations ( ) [ ] * MemoRelation {
@ -1427,13 +1242,6 @@ func (x *ListMemoRelationsResponse) GetNextPageToken() string {
return ""
}
func ( x * ListMemoRelationsResponse ) GetTotalSize ( ) int32 {
if x != nil {
return x . TotalSize
}
return 0
}
type CreateMemoCommentRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
// Required. The resource name of the memo.
@ -1449,7 +1257,7 @@ type CreateMemoCommentRequest struct {
func ( x * CreateMemoCommentRequest ) Reset ( ) {
* x = CreateMemoCommentRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 8 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1461,7 +1269,7 @@ func (x *CreateMemoCommentRequest) String() string {
func ( * CreateMemoCommentRequest ) ProtoMessage ( ) { }
func ( x * CreateMemoCommentRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 8 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 6 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1474,7 +1282,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 { 1 8 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 6 }
}
func ( x * CreateMemoCommentRequest ) GetName ( ) string {
@ -1515,7 +1323,7 @@ type ListMemoCommentsRequest struct {
func ( x * ListMemoCommentsRequest ) Reset ( ) {
* x = ListMemoCommentsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 9 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1527,7 +1335,7 @@ func (x *ListMemoCommentsRequest) String() string {
func ( * ListMemoCommentsRequest ) ProtoMessage ( ) { }
func ( x * ListMemoCommentsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 9 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 1 7 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1540,7 +1348,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 { 1 9 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 7 }
}
func ( x * ListMemoCommentsRequest ) GetName ( ) string {
@ -1585,7 +1393,7 @@ type ListMemoCommentsResponse struct {
func ( x * ListMemoCommentsResponse ) Reset ( ) {
* x = ListMemoCommentsResponse { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 20 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 18 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1597,7 +1405,7 @@ func (x *ListMemoCommentsResponse) String() string {
func ( * ListMemoCommentsResponse ) ProtoMessage ( ) { }
func ( x * ListMemoCommentsResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 20 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 18 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1610,7 +1418,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 { 20 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 18 }
}
func ( x * ListMemoCommentsResponse ) GetMemos ( ) [ ] * Memo {
@ -1649,7 +1457,7 @@ type ListMemoReactionsRequest struct {
func ( x * ListMemoReactionsRequest ) Reset ( ) {
* x = ListMemoReactionsRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 1]
mi := & file_api_v1_memo_service_proto_msgTypes [ 19 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1661,7 +1469,7 @@ func (x *ListMemoReactionsRequest) String() string {
func ( * ListMemoReactionsRequest ) ProtoMessage ( ) { }
func ( x * ListMemoReactionsRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 1]
mi := & file_api_v1_memo_service_proto_msgTypes [ 19 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1674,7 +1482,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 { 2 1}
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 19 }
}
func ( x * ListMemoReactionsRequest ) GetName ( ) string {
@ -1712,7 +1520,7 @@ type ListMemoReactionsResponse struct {
func ( x * ListMemoReactionsResponse ) Reset ( ) {
* x = ListMemoReactionsResponse { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 2 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1724,7 +1532,7 @@ func (x *ListMemoReactionsResponse) String() string {
func ( * ListMemoReactionsResponse ) ProtoMessage ( ) { }
func ( x * ListMemoReactionsResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 2 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 0 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1737,7 +1545,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 { 2 2 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 2 0 }
}
func ( x * ListMemoReactionsResponse ) GetReactions ( ) [ ] * Reaction {
@ -1774,7 +1582,7 @@ type UpsertMemoReactionRequest struct {
func ( x * UpsertMemoReactionRequest ) Reset ( ) {
* x = UpsertMemoReactionRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 3 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1786,7 +1594,7 @@ func (x *UpsertMemoReactionRequest) String() string {
func ( * UpsertMemoReactionRequest ) ProtoMessage ( ) { }
func ( x * UpsertMemoReactionRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 3 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 1 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1799,7 +1607,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 { 2 3 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 2 1 }
}
func ( x * UpsertMemoReactionRequest ) GetName ( ) string {
@ -1827,7 +1635,7 @@ type DeleteMemoReactionRequest struct {
func ( x * DeleteMemoReactionRequest ) Reset ( ) {
* x = DeleteMemoReactionRequest { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 4 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1839,7 +1647,7 @@ func (x *DeleteMemoReactionRequest) String() string {
func ( * DeleteMemoReactionRequest ) ProtoMessage ( ) { }
func ( x * DeleteMemoReactionRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 4 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 2 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1852,7 +1660,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 { 2 4 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 2 2 }
}
func ( x * DeleteMemoReactionRequest ) GetName ( ) string {
@ -1875,7 +1683,7 @@ type Memo_Property struct {
func ( x * Memo_Property ) Reset ( ) {
* x = Memo_Property { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 5 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1887,7 +1695,7 @@ func (x *Memo_Property) String() string {
func ( * Memo_Property ) ProtoMessage ( ) { }
func ( x * Memo_Property ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 5 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 3 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1945,7 +1753,7 @@ type MemoRelation_Memo struct {
func ( x * MemoRelation_Memo ) Reset ( ) {
* x = MemoRelation_Memo { }
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 6 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1957,7 +1765,7 @@ func (x *MemoRelation_Memo) String() string {
func ( * MemoRelation_Memo ) ProtoMessage ( ) { }
func ( x * MemoRelation_Memo ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 6 ]
mi := & file_api_v1_memo_service_proto_msgTypes [ 2 4 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1970,7 +1778,7 @@ func (x *MemoRelation_Memo) ProtoReflect() protoreflect.Message {
// Deprecated: Use MemoRelation_Memo.ProtoReflect.Descriptor instead.
func ( * MemoRelation_Memo ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 4 , 0 }
return file_api_v1_memo_service_proto_rawDescGZIP ( ) , [ ] int { 1 2 , 0 }
}
func ( x * MemoRelation_Memo ) GetName ( ) string {
@ -2039,13 +1847,10 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\bLocation\x12%\n" +
"\vplaceholder\x18\x01 \x01(\tB\x03\xe0A\x01R\vplaceholder\x12\x1f\n" +
"\blatitude\x18\x02 \x01(\x01B\x03\xe0A\x01R\blatitude\x12!\n" +
"\tlongitude\x18\x03 \x01(\x01B\x03\xe0A\x01R\tlongitude\" \xac\x01 \n" +
"\tlongitude\x18\x03 \x01(\x01B\x03\xe0A\x01R\tlongitude\" ^ \n" +
"\x11CreateMemoRequest\x12+\n" +
"\x04memo\x18\x01 \x01(\v2\x12.memos.api.v1.MemoB\x03\xe0A\x02R\x04memo\x12\x1c\n" +
"\amemo_id\x18\x02 \x01(\tB\x03\xe0A\x01R\x06memoId\x12(\n" +
"\rvalidate_only\x18\x03 \x01(\bB\x03\xe0A\x01R\fvalidateOnly\x12\"\n" +
"\n" +
"request_id\x18\x04 \x01(\tB\x03\xe0A\x01R\trequestId\"\xed\x01\n" +
"\amemo_id\x18\x02 \x01(\tB\x03\xe0A\x01R\x06memoId\"\xed\x01\n" +
"\x10ListMemosRequest\x12 \n" +
"\tpage_size\x18\x01 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
"\n" +
@ -2053,35 +1858,21 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\x05state\x18\x03 \x01(\x0e2\x13.memos.api.v1.StateB\x03\xe0A\x01R\x05state\x12\x1e\n" +
"\border_by\x18\x04 \x01(\tB\x03\xe0A\x01R\aorderBy\x12\x1b\n" +
"\x06filter\x18\x05 \x01(\tB\x03\xe0A\x01R\x06filter\x12&\n" +
"\fshow_deleted\x18\x06 \x01(\bB\x03\xe0A\x01R\vshowDeleted\" \x84\x01 \n" +
"\fshow_deleted\x18\x06 \x01(\bB\x03\xe0A\x01R\vshowDeleted\" e \n" +
"\x11ListMemosResponse\x12(\n" +
"\x05memos\x18\x01 \x03(\v2\x12.memos.api.v1.MemoR\x05memos\x12&\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
"\n" +
"total_size\x18\x03 \x01(\x05R\ttotalSize\"}\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"?\n" +
"\x0eGetMemoRequest\x12-\n" +
"\x04name\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x04name\x12<\n" +
"\tread_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x01R\breadMask\"\xac\x01\n" +
"\x11memos.api.v1/MemoR\x04name\"\x82\x01\n" +
"\x11UpdateMemoRequest\x12+\n" +
"\x04memo\x18\x01 \x01(\v2\x12.memos.api.v1.MemoB\x03\xe0A\x02R\x04memo\x12@\n" +
"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
"updateMask\x12(\n" +
"\rallow_missing\x18\x03 \x01(\bB\x03\xe0A\x01R\fallowMissing\"]\n" +
"updateMask\"]\n" +
"\x11DeleteMemoRequest\x12-\n" +
"\x04name\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x04name\x12\x19\n" +
"\x05force\x18\x02 \x01(\bB\x03\xe0A\x01R\x05force\"\x85\x01\n" +
"\x14RenameMemoTagRequest\x121\n" +
"\x06parent\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x06parent\x12\x1c\n" +
"\aold_tag\x18\x02 \x01(\tB\x03\xe0A\x02R\x06oldTag\x12\x1c\n" +
"\anew_tag\x18\x03 \x01(\tB\x03\xe0A\x02R\x06newTag\"\x97\x01\n" +
"\x14DeleteMemoTagRequest\x121\n" +
"\x06parent\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x06parent\x12\x15\n" +
"\x03tag\x18\x02 \x01(\tB\x03\xe0A\x02R\x03tag\x125\n" +
"\x14delete_related_memos\x18\x03 \x01(\bB\x03\xe0A\x01R\x12deleteRelatedMemos\"\x8b\x01\n" +
"\x05force\x18\x02 \x01(\bB\x03\xe0A\x01R\x05force\"\x8b\x01\n" +
"\x19SetMemoAttachmentsRequest\x12-\n" +
"\x04name\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x04name\x12?\n" +
@ -2091,12 +1882,10 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\x11memos.api.v1/MemoR\x04name\x12 \n" +
"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
"\n" +
"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\"\x a0 \x01\n" +
"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\"\x 81 \x01\n" +
"\x1bListMemoAttachmentsResponse\x12:\n" +
"\vattachments\x18\x01 \x03(\v2\x18.memos.api.v1.AttachmentR\vattachments\x12&\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
"\n" +
"total_size\x18\x03 \x01(\x05R\ttotalSize\"\xdb\x02\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xdb\x02\n" +
"\fMemoRelation\x128\n" +
"\x04memo\x18\x01 \x01(\v2\x1f.memos.api.v1.MemoRelation.MemoB\x03\xe0A\x02R\x04memo\x12G\n" +
"\frelated_memo\x18\x02 \x01(\v2\x1f.memos.api.v1.MemoRelation.MemoB\x03\xe0A\x02R\vrelatedMemo\x128\n" +
@ -2118,12 +1907,10 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\x11memos.api.v1/MemoR\x04name\x12 \n" +
"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
"\n" +
"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\" \x9c\x01 \n" +
"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\" } \n" +
"\x19ListMemoRelationsResponse\x128\n" +
"\trelations\x18\x01 \x03(\v2\x1a.memos.api.v1.MemoRelationR\trelations\x12&\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
"\n" +
"total_size\x18\x03 \x01(\x05R\ttotalSize\"\xa0\x01\n" +
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xa0\x01\n" +
"\x18CreateMemoCommentRequest\x12-\n" +
"\x04name\x18\x01 \x01(\tB\x19\xe0A\x02\xfaA\x13\n" +
"\x11memos.api.v1/MemoR\x04name\x121\n" +
@ -2166,7 +1953,7 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\aPRIVATE\x10\x01\x12\r\n" +
"\tPROTECTED\x10\x02\x12\n" +
"\n" +
"\x06PUBLIC\x10\x032\x ef\x10 \n" +
"\x06PUBLIC\x10\x032\x cb\x0e \n" +
"\vMemoService\x12e\n" +
"\n" +
"CreateMemo\x12\x1f.memos.api.v1.CreateMemoRequest\x1a\x12.memos.api.v1.Memo\"\"\xdaA\x04memo\x82\xd3\xe4\x93\x02\x15:\x04memo\"\r/api/v1/memos\x12f\n" +
@ -2175,10 +1962,7 @@ const file_api_v1_memo_service_proto_rawDesc = "" +
"\n" +
"UpdateMemo\x12\x1f.memos.api.v1.UpdateMemoRequest\x1a\x12.memos.api.v1.Memo\"<\xdaA\x10memo,update_mask\x82\xd3\xe4\x93\x02#:\x04memo2\x1b/api/v1/{memo.name=memos/*}\x12l\n" +
"\n" +
"DeleteMemo\x12\x1f.memos.api.v1.DeleteMemoRequest\x1a\x16.google.protobuf.Empty\"%\xdaA\x04name\x82\xd3\xe4\x93\x02\x18*\x16/api/v1/{name=memos/*}\x12\x95\x01\n" +
"\rRenameMemoTag\x12\".memos.api.v1.RenameMemoTagRequest\x1a\x16.google.protobuf.Empty\"H\xdaA\x16parent,old_tag,new_tag\x82\xd3\xe4\x93\x02):\x01*2$/api/v1/{parent=memos/*}/tags:rename\x12\x89\x01\n" +
"\rDeleteMemoTag\x12\".memos.api.v1.DeleteMemoTagRequest\x1a\x16.google.protobuf.Empty\"<\xdaA\n" +
"parent,tag\x82\xd3\xe4\x93\x02):\x01*\"$/api/v1/{parent=memos/*}/tags:delete\x12\x8b\x01\n" +
"DeleteMemo\x12\x1f.memos.api.v1.DeleteMemoRequest\x1a\x16.google.protobuf.Empty\"%\xdaA\x04name\x82\xd3\xe4\x93\x02\x18*\x16/api/v1/{name=memos/*}\x12\x8b\x01\n" +
"\x12SetMemoAttachments\x12'.memos.api.v1.SetMemoAttachmentsRequest\x1a\x16.google.protobuf.Empty\"4\xdaA\x04name\x82\xd3\xe4\x93\x02':\x01*2\"/api/v1/{name=memos/*}/attachments\x12\x9d\x01\n" +
"\x13ListMemoAttachments\x12(.memos.api.v1.ListMemoAttachmentsRequest\x1a).memos.api.v1.ListMemoAttachmentsResponse\"1\xdaA\x04name\x82\xd3\xe4\x93\x02$\x12\"/api/v1/{name=memos/*}/attachments\x12\x85\x01\n" +
"\x10SetMemoRelations\x12%.memos.api.v1.SetMemoRelationsRequest\x1a\x16.google.protobuf.Empty\"2\xdaA\x04name\x82\xd3\xe4\x93\x02%:\x01*2 /api/v1/{name=memos/*}/relations\x12\x95\x01\n" +
@ -2203,7 +1987,7 @@ func file_api_v1_memo_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_memo_service_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 2 )
var file_api_v1_memo_service_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 7 )
var file_api_v1_memo_service_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 5 )
var file_api_v1_memo_service_proto_goTypes = [ ] any {
( Visibility ) ( 0 ) , // 0: memos.api.v1.Visibility
( MemoRelation_Type ) ( 0 ) , // 1: memos.api.v1.MemoRelation.Type
@ -2216,96 +2000,89 @@ var file_api_v1_memo_service_proto_goTypes = []any{
( * GetMemoRequest ) ( nil ) , // 8: memos.api.v1.GetMemoRequest
( * UpdateMemoRequest ) ( nil ) , // 9: memos.api.v1.UpdateMemoRequest
( * DeleteMemoRequest ) ( nil ) , // 10: memos.api.v1.DeleteMemoRequest
( * RenameMemoTagRequest ) ( nil ) , // 11: memos.api.v1.RenameMemoTagRequest
( * DeleteMemoTagRequest ) ( nil ) , // 12: memos.api.v1.DeleteMemoTagRequest
( * SetMemoAttachmentsRequest ) ( nil ) , // 13: memos.api.v1.SetMemoAttachmentsRequest
( * ListMemoAttachmentsRequest ) ( nil ) , // 14: memos.api.v1.ListMemoAttachmentsRequest
( * ListMemoAttachmentsResponse ) ( nil ) , // 15: memos.api.v1.ListMemoAttachmentsResponse
( * MemoRelation ) ( nil ) , // 16: memos.api.v1.MemoRelation
( * SetMemoRelationsRequest ) ( nil ) , // 17: memos.api.v1.SetMemoRelationsRequest
( * ListMemoRelationsRequest ) ( nil ) , // 18: memos.api.v1.ListMemoRelationsRequest
( * ListMemoRelationsResponse ) ( nil ) , // 19: memos.api.v1.ListMemoRelationsResponse
( * CreateMemoCommentRequest ) ( nil ) , // 20: memos.api.v1.CreateMemoCommentRequest
( * ListMemoCommentsRequest ) ( nil ) , // 21: memos.api.v1.ListMemoCommentsRequest
( * ListMemoCommentsResponse ) ( nil ) , // 22: memos.api.v1.ListMemoCommentsResponse
( * ListMemoReactionsRequest ) ( nil ) , // 23: memos.api.v1.ListMemoReactionsRequest
( * ListMemoReactionsResponse ) ( nil ) , // 24: memos.api.v1.ListMemoReactionsResponse
( * UpsertMemoReactionRequest ) ( nil ) , // 25: memos.api.v1.UpsertMemoReactionRequest
( * DeleteMemoReactionRequest ) ( nil ) , // 26: memos.api.v1.DeleteMemoReactionRequest
( * Memo_Property ) ( nil ) , // 27: memos.api.v1.Memo.Property
( * MemoRelation_Memo ) ( nil ) , // 28: memos.api.v1.MemoRelation.Memo
( * timestamppb . Timestamp ) ( nil ) , // 29: google.protobuf.Timestamp
( State ) ( 0 ) , // 30: memos.api.v1.State
( * Attachment ) ( nil ) , // 31: memos.api.v1.Attachment
( * fieldmaskpb . FieldMask ) ( nil ) , // 32: google.protobuf.FieldMask
( * emptypb . Empty ) ( nil ) , // 33: google.protobuf.Empty
( * SetMemoAttachmentsRequest ) ( nil ) , // 11: memos.api.v1.SetMemoAttachmentsRequest
( * ListMemoAttachmentsRequest ) ( nil ) , // 12: memos.api.v1.ListMemoAttachmentsRequest
( * ListMemoAttachmentsResponse ) ( nil ) , // 13: memos.api.v1.ListMemoAttachmentsResponse
( * MemoRelation ) ( nil ) , // 14: memos.api.v1.MemoRelation
( * SetMemoRelationsRequest ) ( nil ) , // 15: memos.api.v1.SetMemoRelationsRequest
( * ListMemoRelationsRequest ) ( nil ) , // 16: memos.api.v1.ListMemoRelationsRequest
( * ListMemoRelationsResponse ) ( nil ) , // 17: memos.api.v1.ListMemoRelationsResponse
( * CreateMemoCommentRequest ) ( nil ) , // 18: memos.api.v1.CreateMemoCommentRequest
( * ListMemoCommentsRequest ) ( nil ) , // 19: memos.api.v1.ListMemoCommentsRequest
( * ListMemoCommentsResponse ) ( nil ) , // 20: memos.api.v1.ListMemoCommentsResponse
( * ListMemoReactionsRequest ) ( nil ) , // 21: memos.api.v1.ListMemoReactionsRequest
( * ListMemoReactionsResponse ) ( nil ) , // 22: memos.api.v1.ListMemoReactionsResponse
( * UpsertMemoReactionRequest ) ( nil ) , // 23: memos.api.v1.UpsertMemoReactionRequest
( * DeleteMemoReactionRequest ) ( nil ) , // 24: memos.api.v1.DeleteMemoReactionRequest
( * Memo_Property ) ( nil ) , // 25: memos.api.v1.Memo.Property
( * MemoRelation_Memo ) ( nil ) , // 26: memos.api.v1.MemoRelation.Memo
( * timestamppb . Timestamp ) ( nil ) , // 27: google.protobuf.Timestamp
( State ) ( 0 ) , // 28: memos.api.v1.State
( * Attachment ) ( nil ) , // 29: memos.api.v1.Attachment
( * fieldmaskpb . FieldMask ) ( nil ) , // 30: google.protobuf.FieldMask
( * emptypb . Empty ) ( nil ) , // 31: google.protobuf.Empty
}
var file_api_v1_memo_service_proto_depIdxs = [ ] int32 {
2 9 , // 0: memos.api.v1.Reaction.create_time:type_name -> google.protobuf.Timestamp
30 , // 1: memos.api.v1.Memo.state:type_name -> memos.api.v1.State
2 9 , // 2: memos.api.v1.Memo.create_time:type_name -> google.protobuf.Timestamp
2 9 , // 3: memos.api.v1.Memo.update_time:type_name -> google.protobuf.Timestamp
2 9 , // 4: memos.api.v1.Memo.display_time:type_name -> google.protobuf.Timestamp
2 7 , // 0: memos.api.v1.Reaction.create_time:type_name -> google.protobuf.Timestamp
28 , // 1: memos.api.v1.Memo.state:type_name -> memos.api.v1.State
2 7 , // 2: memos.api.v1.Memo.create_time:type_name -> google.protobuf.Timestamp
2 7 , // 3: memos.api.v1.Memo.update_time:type_name -> google.protobuf.Timestamp
2 7 , // 4: memos.api.v1.Memo.display_time:type_name -> google.protobuf.Timestamp
0 , // 5: memos.api.v1.Memo.visibility:type_name -> memos.api.v1.Visibility
31 , // 6: memos.api.v1.Memo.attachments:type_name -> memos.api.v1.Attachment
1 6 , // 7: memos.api.v1.Memo.relations:type_name -> memos.api.v1.MemoRelation
29 , // 6: memos.api.v1.Memo.attachments:type_name -> memos.api.v1.Attachment
1 4 , // 7: memos.api.v1.Memo.relations:type_name -> memos.api.v1.MemoRelation
2 , // 8: memos.api.v1.Memo.reactions:type_name -> memos.api.v1.Reaction
2 7 , // 9: memos.api.v1.Memo.property:type_name -> memos.api.v1.Memo.Property
2 5 , // 9: memos.api.v1.Memo.property:type_name -> memos.api.v1.Memo.Property
4 , // 10: memos.api.v1.Memo.location:type_name -> memos.api.v1.Location
3 , // 11: memos.api.v1.CreateMemoRequest.memo:type_name -> memos.api.v1.Memo
30 , // 12: memos.api.v1.ListMemosRequest.state:type_name -> memos.api.v1.State
28 , // 12: memos.api.v1.ListMemosRequest.state:type_name -> memos.api.v1.State
3 , // 13: memos.api.v1.ListMemosResponse.memos:type_name -> memos.api.v1.Memo
32 , // 14: memos.api.v1.GetMemoRequest.read_mask:type_name -> google.protobuf.FieldMask
3 , // 15: memos.api.v1.UpdateMemoRequest.memo:type_name -> memos.api.v1.Memo
32 , // 16: memos.api.v1.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask
31 , // 17: memos.api.v1.SetMemoAttachmentsRequest.attachments:type_name -> memos.api.v1.Attachment
31 , // 18: memos.api.v1.ListMemoAttachmentsResponse.attachments:type_name -> memos.api.v1.Attachment
28 , // 19: memos.api.v1.MemoRelation.memo:type_name -> memos.api.v1.MemoRelation.Memo
28 , // 20: memos.api.v1.MemoRelation.related_memo:type_name -> memos.api.v1.MemoRelation.Memo
1 , // 21: memos.api.v1.MemoRelation.type:type_name -> memos.api.v1.MemoRelation.Type
16 , // 22: memos.api.v1.SetMemoRelationsRequest.relations:type_name -> memos.api.v1.MemoRelation
16 , // 23: memos.api.v1.ListMemoRelationsResponse.relations:type_name -> memos.api.v1.MemoRelation
3 , // 24: memos.api.v1.CreateMemoCommentRequest.comment:type_name -> memos.api.v1.Memo
3 , // 25: memos.api.v1.ListMemoCommentsResponse.memos:type_name -> memos.api.v1.Memo
2 , // 26: memos.api.v1.ListMemoReactionsResponse.reactions:type_name -> memos.api.v1.Reaction
2 , // 27: memos.api.v1.UpsertMemoReactionRequest.reaction:type_name -> memos.api.v1.Reaction
5 , // 28: memos.api.v1.MemoService.CreateMemo:input_type -> memos.api.v1.CreateMemoRequest
6 , // 29: memos.api.v1.MemoService.ListMemos:input_type -> memos.api.v1.ListMemosRequest
8 , // 30: memos.api.v1.MemoService.GetMemo:input_type -> memos.api.v1.GetMemoRequest
9 , // 31: memos.api.v1.MemoService.UpdateMemo:input_type -> memos.api.v1.UpdateMemoRequest
10 , // 32: memos.api.v1.MemoService.DeleteMemo:input_type -> memos.api.v1.DeleteMemoRequest
11 , // 33: memos.api.v1.MemoService.RenameMemoTag:input_type -> memos.api.v1.RenameMemoTagRequest
12 , // 34: memos.api.v1.MemoService.DeleteMemoTag:input_type -> memos.api.v1.DeleteMemoTagRequest
13 , // 35: memos.api.v1.MemoService.SetMemoAttachments:input_type -> memos.api.v1.SetMemoAttachmentsRequest
14 , // 36: memos.api.v1.MemoService.ListMemoAttachments:input_type -> memos.api.v1.ListMemoAttachmentsRequest
17 , // 37: memos.api.v1.MemoService.SetMemoRelations:input_type -> memos.api.v1.SetMemoRelationsRequest
18 , // 38: memos.api.v1.MemoService.ListMemoRelations:input_type -> memos.api.v1.ListMemoRelationsRequest
20 , // 39: memos.api.v1.MemoService.CreateMemoComment:input_type -> memos.api.v1.CreateMemoCommentRequest
21 , // 40: memos.api.v1.MemoService.ListMemoComments:input_type -> memos.api.v1.ListMemoCommentsRequest
23 , // 41: memos.api.v1.MemoService.ListMemoReactions:input_type -> memos.api.v1.ListMemoReactionsRequest
25 , // 42: memos.api.v1.MemoService.UpsertMemoReaction:input_type -> memos.api.v1.UpsertMemoReactionRequest
26 , // 43: memos.api.v1.MemoService.DeleteMemoReaction:input_type -> memos.api.v1.DeleteMemoReactionRequest
3 , // 44: memos.api.v1.MemoService.CreateMemo:output_type -> memos.api.v1.Memo
7 , // 45: memos.api.v1.MemoService.ListMemos:output_type -> memos.api.v1.ListMemosResponse
3 , // 46: memos.api.v1.MemoService.GetMemo:output_type -> memos.api.v1.Memo
3 , // 47: memos.api.v1.MemoService.UpdateMemo:output_type -> memos.api.v1.Memo
33 , // 48: memos.api.v1.MemoService.DeleteMemo:output_type -> google.protobuf.Empty
33 , // 49: memos.api.v1.MemoService.RenameMemoTag:output_type -> google.protobuf.Empty
33 , // 50: memos.api.v1.MemoService.DeleteMemoTag:output_type -> google.protobuf.Empty
33 , // 51: memos.api.v1.MemoService.SetMemoAttachments:output_type -> google.protobuf.Empty
15 , // 52: memos.api.v1.MemoService.ListMemoAttachments:output_type -> memos.api.v1.ListMemoAttachmentsResponse
33 , // 53: memos.api.v1.MemoService.SetMemoRelations:output_type -> google.protobuf.Empty
19 , // 54: memos.api.v1.MemoService.ListMemoRelations:output_type -> memos.api.v1.ListMemoRelationsResponse
3 , // 55: memos.api.v1.MemoService.CreateMemoComment:output_type -> memos.api.v1.Memo
22 , // 56: memos.api.v1.MemoService.ListMemoComments:output_type -> memos.api.v1.ListMemoCommentsResponse
24 , // 57: memos.api.v1.MemoService.ListMemoReactions:output_type -> memos.api.v1.ListMemoReactionsResponse
2 , // 58: memos.api.v1.MemoService.UpsertMemoReaction:output_type -> memos.api.v1.Reaction
33 , // 59: memos.api.v1.MemoService.DeleteMemoReaction:output_type -> google.protobuf.Empty
44 , // [44:60] is the sub-list for method output_type
28 , // [28:44] is the sub-list for method input_type
28 , // [28:28] is the sub-list for extension type_name
28 , // [28:28] is the sub-list for extension extendee
0 , // [0:28] is the sub-list for field type_name
3 , // 14: memos.api.v1.UpdateMemoRequest.memo:type_name -> memos.api.v1.Memo
30 , // 15: memos.api.v1.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask
29 , // 16: memos.api.v1.SetMemoAttachmentsRequest.attachments:type_name -> memos.api.v1.Attachment
29 , // 17: memos.api.v1.ListMemoAttachmentsResponse.attachments:type_name -> memos.api.v1.Attachment
26 , // 18: memos.api.v1.MemoRelation.memo:type_name -> memos.api.v1.MemoRelation.Memo
26 , // 19: memos.api.v1.MemoRelation.related_memo:type_name -> memos.api.v1.MemoRelation.Memo
1 , // 20: memos.api.v1.MemoRelation.type:type_name -> memos.api.v1.MemoRelation.Type
14 , // 21: memos.api.v1.SetMemoRelationsRequest.relations:type_name -> memos.api.v1.MemoRelation
14 , // 22: memos.api.v1.ListMemoRelationsResponse.relations:type_name -> memos.api.v1.MemoRelation
3 , // 23: memos.api.v1.CreateMemoCommentRequest.comment:type_name -> memos.api.v1.Memo
3 , // 24: memos.api.v1.ListMemoCommentsResponse.memos:type_name -> memos.api.v1.Memo
2 , // 25: memos.api.v1.ListMemoReactionsResponse.reactions:type_name -> memos.api.v1.Reaction
2 , // 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.UpdateMemo:input_type -> memos.api.v1.UpdateMemoRequest
10 , // 31: memos.api.v1.MemoService.DeleteMemo:input_type -> memos.api.v1.DeleteMemoRequest
11 , // 32: memos.api.v1.MemoService.SetMemoAttachments:input_type -> memos.api.v1.SetMemoAttachmentsRequest
12 , // 33: memos.api.v1.MemoService.ListMemoAttachments:input_type -> memos.api.v1.ListMemoAttachmentsRequest
15 , // 34: memos.api.v1.MemoService.SetMemoRelations:input_type -> memos.api.v1.SetMemoRelationsRequest
16 , // 35: memos.api.v1.MemoService.ListMemoRelations:input_type -> memos.api.v1.ListMemoRelationsRequest
18 , // 36: memos.api.v1.MemoService.CreateMemoComment:input_type -> memos.api.v1.CreateMemoCommentRequest
19 , // 37: memos.api.v1.MemoService.ListMemoComments:input_type -> memos.api.v1.ListMemoCommentsRequest
21 , // 38: memos.api.v1.MemoService.ListMemoReactions:input_type -> memos.api.v1.ListMemoReactionsRequest
23 , // 39: memos.api.v1.MemoService.UpsertMemoReaction:input_type -> memos.api.v1.UpsertMemoReactionRequest
24 , // 40: memos.api.v1.MemoService.DeleteMemoReaction:input_type -> memos.api.v1.DeleteMemoReactionRequest
3 , // 41: memos.api.v1.MemoService.CreateMemo:output_type -> memos.api.v1.Memo
7 , // 42: memos.api.v1.MemoService.ListMemos:output_type -> memos.api.v1.ListMemosResponse
3 , // 43: memos.api.v1.MemoService.GetMemo:output_type -> memos.api.v1.Memo
3 , // 44: memos.api.v1.MemoService.UpdateMemo:output_type -> memos.api.v1.Memo
31 , // 45: memos.api.v1.MemoService.DeleteMemo:output_type -> google.protobuf.Empty
31 , // 46: memos.api.v1.MemoService.SetMemoAttachments:output_type -> google.protobuf.Empty
13 , // 47: memos.api.v1.MemoService.ListMemoAttachments:output_type -> memos.api.v1.ListMemoAttachmentsResponse
31 , // 48: memos.api.v1.MemoService.SetMemoRelations:output_type -> google.protobuf.Empty
17 , // 49: memos.api.v1.MemoService.ListMemoRelations:output_type -> memos.api.v1.ListMemoRelationsResponse
3 , // 50: memos.api.v1.MemoService.CreateMemoComment:output_type -> memos.api.v1.Memo
20 , // 51: memos.api.v1.MemoService.ListMemoComments:output_type -> memos.api.v1.ListMemoCommentsResponse
22 , // 52: memos.api.v1.MemoService.ListMemoReactions:output_type -> memos.api.v1.ListMemoReactionsResponse
2 , // 53: memos.api.v1.MemoService.UpsertMemoReaction:output_type -> memos.api.v1.Reaction
31 , // 54: memos.api.v1.MemoService.DeleteMemoReaction:output_type -> google.protobuf.Empty
41 , // [41:55] is the sub-list for method output_type
27 , // [27:41] 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 ( ) }
@ -2322,7 +2099,7 @@ func file_api_v1_memo_service_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : unsafe . Slice ( unsafe . StringData ( file_api_v1_memo_service_proto_rawDesc ) , len ( file_api_v1_memo_service_proto_rawDesc ) ) ,
NumEnums : 2 ,
NumMessages : 2 7 ,
NumMessages : 2 5 ,
NumExtensions : 0 ,
NumServices : 1 ,
} ,