@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36. 3
// protoc-gen-go v1.36. 4
// protoc (unknown)
// source: store/memo.proto
@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
@ -21,12 +22,11 @@ const (
)
type MemoPayload struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Property * MemoPayload_Property ` protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty" `
Location * MemoPayload_Location ` protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty" `
Tags [ ] string ` protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" `
// The references of the memo. Should be a list of uuid.
References [ ] string ` protobuf:"bytes,4,rep,name=references,proto3" json:"references,omitempty" `
state protoimpl . MessageState ` protogen:"open.v1" `
Property * MemoPayload_Property ` protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty" `
Location * MemoPayload_Location ` protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty" `
Tags [ ] string ` protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" `
Pinned bool ` protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -82,21 +82,24 @@ func (x *MemoPayload) GetTags() []string {
return nil
}
func ( x * MemoPayload ) Get References( ) [ ] string {
func ( x * MemoPayload ) Get Pinned( ) bool {
if x != nil {
return x . References
return x . Pinned
}
return nil
return false
}
// The calculated properties from the memo content.
type MemoPayload_Property struct {
state protoimpl . MessageState ` protogen:"open.v1" `
HasLink bool ` protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty" `
HasTaskList bool ` protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty" `
HasCode bool ` protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty" `
HasIncompleteTasks bool ` protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
// The references of the memo. Should be a list of uuid.
References [ ] string ` protobuf:"bytes,5,rep,name=references,proto3" json:"references,omitempty" `
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * MemoPayload_Property ) Reset ( ) {
@ -157,6 +160,13 @@ func (x *MemoPayload_Property) GetHasIncompleteTasks() bool {
return false
}
func ( x * MemoPayload_Property ) GetReferences ( ) [ ] string {
if x != nil {
return x . References
}
return nil
}
type MemoPayload_Location struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Placeholder string ` protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty" `
@ -219,10 +229,10 @@ func (x *MemoPayload_Location) GetLongitude() float64 {
var File_store_memo_proto protoreflect . FileDescriptor
var file_store_memo_proto_rawDesc = [ ] byte {
var file_store_memo_proto_rawDesc = string ( [ ] byte {
0x0a , 0x10 , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0x2f , 0x6d , 0x65 , 0x6d , 0x6f , 0x2e , 0x70 , 0x72 , 0x6f ,
0x74 , 0x6f , 0x12 , 0x0b , 0x6d , 0x65 , 0x6d , 0x6f , 0x73 , 0x2e , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0x22 ,
0x c0 , 0x03 , 0x0a , 0x0b , 0x4d , 0x65 , 0x6d , 0x6f , 0x50 , 0x61 , 0x79 , 0x6c , 0x6f , 0x61 , 0x64 , 0x12 ,
0x d8 , 0x03 , 0x0a , 0x0b , 0x4d , 0x65 , 0x6d , 0x6f , 0x50 , 0x61 , 0x79 , 0x6c , 0x6f , 0x61 , 0x64 , 0x12 ,
0x3d , 0x0a , 0x08 , 0x70 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x0b , 0x32 , 0x21 , 0x2e , 0x6d , 0x65 , 0x6d , 0x6f , 0x73 , 0x2e , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0x2e ,
0x4d , 0x65 , 0x6d , 0x6f , 0x50 , 0x61 , 0x79 , 0x6c , 0x6f , 0x61 , 0x64 , 0x2e , 0x50 , 0x72 , 0x6f , 0x70 ,
@ -232,45 +242,46 @@ var file_store_memo_proto_rawDesc = []byte{
0x65 , 0x6d , 0x6f , 0x50 , 0x61 , 0x79 , 0x6c , 0x6f , 0x61 , 0x64 , 0x2e , 0x4c , 0x6f , 0x63 , 0x61 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x52 , 0x08 , 0x6c , 0x6f , 0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x12 , 0x0a ,
0x04 , 0x74 , 0x61 , 0x67 , 0x73 , 0x18 , 0x03 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x04 , 0x74 , 0x61 , 0x67 ,
0x73 , 0x12 , 0x1e , 0x0a , 0x0a , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e , 0x63 , 0x65 , 0x73 , 0x18 ,
0x04 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x0a , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e , 0x63 , 0x65 ,
0x73 , 0x1a , 0x96 , 0x01 , 0x0a , 0x08 , 0x50 , 0x72 , 0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x12 , 0x19 ,
0x0a , 0x08 , 0x68 , 0x61 , 0x73 , 0x5f , 0x6c , 0x69 , 0x6e , 0x6b , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x08 ,
0x52 , 0x07 , 0x68 , 0x61 , 0x73 , 0x4c , 0x69 , 0x6e , 0x6b , 0x12 , 0x22 , 0x0a , 0x0d , 0x68 , 0x61 , 0x73 ,
0x5f , 0x74 , 0x61 , 0x73 , 0x6b , 0x5f , 0x6c , 0x69 , 0x73 , 0x74 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x08 ,
0x52 , 0x0b , 0x68 , 0x61 , 0x73 , 0x54 , 0x61 , 0x73 , 0x6b , 0x4c , 0x69 , 0x73 , 0x74 , 0x12 , 0x19 , 0x0a ,
0x08 , 0x68 , 0x61 , 0x73 , 0x5f , 0x63 , 0x6f , 0x64 , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 ,
0x07 , 0x68 , 0x61 , 0x73 , 0x43 , 0x6f , 0x64 , 0x65 , 0x12 , 0x30 , 0x0a , 0x14 , 0x68 , 0x61 , 0x73 , 0x5f ,
0x69 , 0x6e , 0x63 , 0x6f , 0x6d , 0x70 , 0x6c , 0x65 , 0x74 , 0x65 , 0x5f , 0x74 , 0x61 , 0x73 , 0x6b , 0x73 ,
0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x12 , 0x68 , 0x61 , 0x73 , 0x49 , 0x6e , 0x63 , 0x6f , 0x6d ,
0x70 , 0x6c , 0x65 , 0x74 , 0x65 , 0x54 , 0x61 , 0x73 , 0x6b , 0x73 , 0x1a , 0x66 , 0x0a , 0x08 , 0x4c , 0x6f ,
0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x20 , 0x0a , 0x0b , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x68 ,
0x6f , 0x6c , 0x64 , 0x65 , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x70 , 0x6c , 0x61 ,
0x63 , 0x65 , 0x68 , 0x6f , 0x6c , 0x64 , 0x65 , 0x72 , 0x12 , 0x1a , 0x0a , 0x08 , 0x6c , 0x61 , 0x74 , 0x69 ,
0x74 , 0x75 , 0x64 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x08 , 0x6c , 0x61 , 0x74 , 0x69 ,
0x74 , 0x75 , 0x64 , 0x65 , 0x12 , 0x1c , 0x0a , 0x09 , 0x6c , 0x6f , 0x6e , 0x67 , 0x69 , 0x74 , 0x75 , 0x64 ,
0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 , 0x09 , 0x6c , 0x6f , 0x6e , 0x67 , 0x69 , 0x74 , 0x75 ,
0x64 , 0x65 , 0x42 , 0x94 , 0x01 , 0x0a , 0x0f , 0x63 , 0x6f , 0x6d , 0x2e , 0x6d , 0x65 , 0x6d , 0x6f , 0x73 ,
0x2e , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0x42 , 0x09 , 0x4d , 0x65 , 0x6d , 0x6f , 0x50 , 0x72 , 0x6f , 0x74 ,
0x6f , 0x50 , 0x01 , 0x5a , 0x29 , 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 , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0xa2 , 0x02 ,
0x03 , 0x4d , 0x53 , 0x58 , 0xaa , 0x02 , 0x0b , 0x4d , 0x65 , 0x6d , 0x6f , 0x73 , 0x2e , 0x53 , 0x74 , 0x6f ,
0x72 , 0x65 , 0xca , 0x02 , 0x0b , 0x4d , 0x65 , 0x6d , 0x6f , 0x73 , 0x5c , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 ,
0xe2 , 0x02 , 0x17 , 0x4d , 0x65 , 0x6d , 0x6f , 0x73 , 0x5c , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 , 0x5c , 0x47 ,
0x50 , 0x42 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 , 0xea , 0x02 , 0x0c , 0x4d , 0x65 , 0x6d ,
0x6f , 0x73 , 0x3a , 0x3a , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f ,
0x33 ,
}
0x73 , 0x12 , 0x16 , 0x0a , 0x06 , 0x70 , 0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 ,
0x08 , 0x52 , 0x06 , 0x70 , 0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x1a , 0xb6 , 0x01 , 0x0a , 0x08 , 0x50 , 0x72 ,
0x6f , 0x70 , 0x65 , 0x72 , 0x74 , 0x79 , 0x12 , 0x19 , 0x0a , 0x08 , 0x68 , 0x61 , 0x73 , 0x5f , 0x6c , 0x69 ,
0x6e , 0x6b , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x07 , 0x68 , 0x61 , 0x73 , 0x4c , 0x69 , 0x6e ,
0x6b , 0x12 , 0x22 , 0x0a , 0x0d , 0x68 , 0x61 , 0x73 , 0x5f , 0x74 , 0x61 , 0x73 , 0x6b , 0x5f , 0x6c , 0x69 ,
0x73 , 0x74 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0b , 0x68 , 0x61 , 0x73 , 0x54 , 0x61 , 0x73 ,
0x6b , 0x4c , 0x69 , 0x73 , 0x74 , 0x12 , 0x19 , 0x0a , 0x08 , 0x68 , 0x61 , 0x73 , 0x5f , 0x63 , 0x6f , 0x64 ,
0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x07 , 0x68 , 0x61 , 0x73 , 0x43 , 0x6f , 0x64 , 0x65 ,
0x12 , 0x30 , 0x0a , 0x14 , 0x68 , 0x61 , 0x73 , 0x5f , 0x69 , 0x6e , 0x63 , 0x6f , 0x6d , 0x70 , 0x6c , 0x65 ,
0x74 , 0x65 , 0x5f , 0x74 , 0x61 , 0x73 , 0x6b , 0x73 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x12 ,
0x68 , 0x61 , 0x73 , 0x49 , 0x6e , 0x63 , 0x6f , 0x6d , 0x70 , 0x6c , 0x65 , 0x74 , 0x65 , 0x54 , 0x61 , 0x73 ,
0x6b , 0x73 , 0x12 , 0x1e , 0x0a , 0x0a , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e , 0x63 , 0x65 , 0x73 ,
0x18 , 0x05 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x0a , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e , 0x63 ,
0x65 , 0x73 , 0x1a , 0x66 , 0x0a , 0x08 , 0x4c , 0x6f , 0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x20 ,
0x0a , 0x0b , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x68 , 0x6f , 0x6c , 0x64 , 0x65 , 0x72 , 0x18 , 0x01 , 0x20 ,
0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x70 , 0x6c , 0x61 , 0x63 , 0x65 , 0x68 , 0x6f , 0x6c , 0x64 , 0x65 , 0x72 ,
0x12 , 0x1a , 0x0a , 0x08 , 0x6c , 0x61 , 0x74 , 0x69 , 0x74 , 0x75 , 0x64 , 0x65 , 0x18 , 0x02 , 0x20 , 0x01 ,
0x28 , 0x01 , 0x52 , 0x08 , 0x6c , 0x61 , 0x74 , 0x69 , 0x74 , 0x75 , 0x64 , 0x65 , 0x12 , 0x1c , 0x0a , 0x09 ,
0x6c , 0x6f , 0x6e , 0x67 , 0x69 , 0x74 , 0x75 , 0x64 , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x01 , 0x52 ,
0x09 , 0x6c , 0x6f , 0x6e , 0x67 , 0x69 , 0x74 , 0x75 , 0x64 , 0x65 , 0x42 , 0x94 , 0x01 , 0x0a , 0x0f , 0x63 ,
0x6f , 0x6d , 0x2e , 0x6d , 0x65 , 0x6d , 0x6f , 0x73 , 0x2e , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0x42 , 0x09 ,
0x4d , 0x65 , 0x6d , 0x6f , 0x50 , 0x72 , 0x6f , 0x74 , 0x6f , 0x50 , 0x01 , 0x5a , 0x29 , 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 , 0x73 , 0x74 , 0x6f , 0x72 , 0x65 , 0xa2 , 0x02 , 0x03 , 0x4d , 0x53 , 0x58 , 0xaa , 0x02 , 0x0b , 0x4d ,
0x65 , 0x6d , 0x6f , 0x73 , 0x2e , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 , 0xca , 0x02 , 0x0b , 0x4d , 0x65 , 0x6d ,
0x6f , 0x73 , 0x5c , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 , 0xe2 , 0x02 , 0x17 , 0x4d , 0x65 , 0x6d , 0x6f , 0x73 ,
0x5c , 0x53 , 0x74 , 0x6f , 0x72 , 0x65 , 0x5c , 0x47 , 0x50 , 0x42 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 ,
0x74 , 0x61 , 0xea , 0x02 , 0x0c , 0x4d , 0x65 , 0x6d , 0x6f , 0x73 , 0x3a , 0x3a , 0x53 , 0x74 , 0x6f , 0x72 ,
0x65 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
} )
var (
file_store_memo_proto_rawDescOnce sync . Once
file_store_memo_proto_rawDescData = file_store_memo_proto_rawDesc
file_store_memo_proto_rawDescData [] byte
)
func file_store_memo_proto_rawDescGZIP ( ) [ ] byte {
file_store_memo_proto_rawDescOnce . Do ( func ( ) {
file_store_memo_proto_rawDescData = protoimpl . X . CompressGZIP ( file_store_memo_proto_rawDescData )
file_store_memo_proto_rawDescData = protoimpl . X . CompressGZIP ( unsafe. Slice ( unsafe . StringData ( file_store_memo_proto_rawDesc ) , len ( file_store_memo_proto_rawDesc ) ) )
} )
return file_store_memo_proto_rawDescData
}
@ -300,7 +311,7 @@ func file_store_memo_proto_init() {
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_store_memo_proto_rawDesc,
RawDescriptor : unsafe. Slice ( unsafe . StringData ( file_store_memo_proto_rawDesc) , len ( file_store_memo_proto_rawDesc ) ) ,
NumEnums : 0 ,
NumMessages : 3 ,
NumExtensions : 0 ,
@ -311,7 +322,6 @@ func file_store_memo_proto_init() {
MessageInfos : file_store_memo_proto_msgTypes ,
} . Build ( )
File_store_memo_proto = out . File
file_store_memo_proto_rawDesc = nil
file_store_memo_proto_goTypes = nil
file_store_memo_proto_depIdxs = nil
}