memo.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.2
  4. // protoc (unknown)
  5. // source: store/memo.proto
  6. package store
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type MemoPayload struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Property *MemoPayload_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
  24. Location *MemoPayload_Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
  25. }
  26. func (x *MemoPayload) Reset() {
  27. *x = MemoPayload{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_store_memo_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *MemoPayload) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*MemoPayload) ProtoMessage() {}
  38. func (x *MemoPayload) ProtoReflect() protoreflect.Message {
  39. mi := &file_store_memo_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use MemoPayload.ProtoReflect.Descriptor instead.
  50. func (*MemoPayload) Descriptor() ([]byte, []int) {
  51. return file_store_memo_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *MemoPayload) GetProperty() *MemoPayload_Property {
  54. if x != nil {
  55. return x.Property
  56. }
  57. return nil
  58. }
  59. func (x *MemoPayload) GetLocation() *MemoPayload_Location {
  60. if x != nil {
  61. return x.Location
  62. }
  63. return nil
  64. }
  65. type MemoPayload_Property struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
  70. HasLink bool `protobuf:"varint,2,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
  71. HasTaskList bool `protobuf:"varint,3,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
  72. HasCode bool `protobuf:"varint,4,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
  73. HasIncompleteTasks bool `protobuf:"varint,5,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`
  74. }
  75. func (x *MemoPayload_Property) Reset() {
  76. *x = MemoPayload_Property{}
  77. if protoimpl.UnsafeEnabled {
  78. mi := &file_store_memo_proto_msgTypes[1]
  79. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  80. ms.StoreMessageInfo(mi)
  81. }
  82. }
  83. func (x *MemoPayload_Property) String() string {
  84. return protoimpl.X.MessageStringOf(x)
  85. }
  86. func (*MemoPayload_Property) ProtoMessage() {}
  87. func (x *MemoPayload_Property) ProtoReflect() protoreflect.Message {
  88. mi := &file_store_memo_proto_msgTypes[1]
  89. if protoimpl.UnsafeEnabled && x != nil {
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. if ms.LoadMessageInfo() == nil {
  92. ms.StoreMessageInfo(mi)
  93. }
  94. return ms
  95. }
  96. return mi.MessageOf(x)
  97. }
  98. // Deprecated: Use MemoPayload_Property.ProtoReflect.Descriptor instead.
  99. func (*MemoPayload_Property) Descriptor() ([]byte, []int) {
  100. return file_store_memo_proto_rawDescGZIP(), []int{0, 0}
  101. }
  102. func (x *MemoPayload_Property) GetTags() []string {
  103. if x != nil {
  104. return x.Tags
  105. }
  106. return nil
  107. }
  108. func (x *MemoPayload_Property) GetHasLink() bool {
  109. if x != nil {
  110. return x.HasLink
  111. }
  112. return false
  113. }
  114. func (x *MemoPayload_Property) GetHasTaskList() bool {
  115. if x != nil {
  116. return x.HasTaskList
  117. }
  118. return false
  119. }
  120. func (x *MemoPayload_Property) GetHasCode() bool {
  121. if x != nil {
  122. return x.HasCode
  123. }
  124. return false
  125. }
  126. func (x *MemoPayload_Property) GetHasIncompleteTasks() bool {
  127. if x != nil {
  128. return x.HasIncompleteTasks
  129. }
  130. return false
  131. }
  132. type MemoPayload_Location struct {
  133. state protoimpl.MessageState
  134. sizeCache protoimpl.SizeCache
  135. unknownFields protoimpl.UnknownFields
  136. Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
  137. Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
  138. Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
  139. }
  140. func (x *MemoPayload_Location) Reset() {
  141. *x = MemoPayload_Location{}
  142. if protoimpl.UnsafeEnabled {
  143. mi := &file_store_memo_proto_msgTypes[2]
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. ms.StoreMessageInfo(mi)
  146. }
  147. }
  148. func (x *MemoPayload_Location) String() string {
  149. return protoimpl.X.MessageStringOf(x)
  150. }
  151. func (*MemoPayload_Location) ProtoMessage() {}
  152. func (x *MemoPayload_Location) ProtoReflect() protoreflect.Message {
  153. mi := &file_store_memo_proto_msgTypes[2]
  154. if protoimpl.UnsafeEnabled && x != nil {
  155. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  156. if ms.LoadMessageInfo() == nil {
  157. ms.StoreMessageInfo(mi)
  158. }
  159. return ms
  160. }
  161. return mi.MessageOf(x)
  162. }
  163. // Deprecated: Use MemoPayload_Location.ProtoReflect.Descriptor instead.
  164. func (*MemoPayload_Location) Descriptor() ([]byte, []int) {
  165. return file_store_memo_proto_rawDescGZIP(), []int{0, 1}
  166. }
  167. func (x *MemoPayload_Location) GetPlaceholder() string {
  168. if x != nil {
  169. return x.Placeholder
  170. }
  171. return ""
  172. }
  173. func (x *MemoPayload_Location) GetLatitude() float64 {
  174. if x != nil {
  175. return x.Latitude
  176. }
  177. return 0
  178. }
  179. func (x *MemoPayload_Location) GetLongitude() float64 {
  180. if x != nil {
  181. return x.Longitude
  182. }
  183. return 0
  184. }
  185. var File_store_memo_proto protoreflect.FileDescriptor
  186. var file_store_memo_proto_rawDesc = []byte{
  187. 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
  188. 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22,
  189. 0xa0, 0x03, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,
  190. 0x3d, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  191. 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
  192. 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70,
  193. 0x65, 0x72, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x3d,
  194. 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  195. 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d,
  196. 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
  197. 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xaa, 0x01,
  198. 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61,
  199. 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x19,
  200. 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
  201. 0x52, 0x07, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x61, 0x73,
  202. 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
  203. 0x52, 0x0b, 0x68, 0x61, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a,
  204. 0x08, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
  205. 0x07, 0x68, 0x61, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x5f,
  206. 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73,
  207. 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x61, 0x73, 0x49, 0x6e, 0x63, 0x6f, 0x6d,
  208. 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x66, 0x0a, 0x08, 0x4c, 0x6f,
  209. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68,
  210. 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, 0x61,
  211. 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69,
  212. 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69,
  213. 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64,
  214. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75,
  215. 0x64, 0x65, 0x42, 0x94, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  216. 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x09, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x74,
  217. 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  218. 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70,
  219. 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02,
  220. 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x6f,
  221. 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65,
  222. 0xe2, 0x02, 0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x47,
  223. 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d,
  224. 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  225. 0x33,
  226. }
  227. var (
  228. file_store_memo_proto_rawDescOnce sync.Once
  229. file_store_memo_proto_rawDescData = file_store_memo_proto_rawDesc
  230. )
  231. func file_store_memo_proto_rawDescGZIP() []byte {
  232. file_store_memo_proto_rawDescOnce.Do(func() {
  233. file_store_memo_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_memo_proto_rawDescData)
  234. })
  235. return file_store_memo_proto_rawDescData
  236. }
  237. var file_store_memo_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  238. var file_store_memo_proto_goTypes = []any{
  239. (*MemoPayload)(nil), // 0: memos.store.MemoPayload
  240. (*MemoPayload_Property)(nil), // 1: memos.store.MemoPayload.Property
  241. (*MemoPayload_Location)(nil), // 2: memos.store.MemoPayload.Location
  242. }
  243. var file_store_memo_proto_depIdxs = []int32{
  244. 1, // 0: memos.store.MemoPayload.property:type_name -> memos.store.MemoPayload.Property
  245. 2, // 1: memos.store.MemoPayload.location:type_name -> memos.store.MemoPayload.Location
  246. 2, // [2:2] is the sub-list for method output_type
  247. 2, // [2:2] is the sub-list for method input_type
  248. 2, // [2:2] is the sub-list for extension type_name
  249. 2, // [2:2] is the sub-list for extension extendee
  250. 0, // [0:2] is the sub-list for field type_name
  251. }
  252. func init() { file_store_memo_proto_init() }
  253. func file_store_memo_proto_init() {
  254. if File_store_memo_proto != nil {
  255. return
  256. }
  257. if !protoimpl.UnsafeEnabled {
  258. file_store_memo_proto_msgTypes[0].Exporter = func(v any, i int) any {
  259. switch v := v.(*MemoPayload); i {
  260. case 0:
  261. return &v.state
  262. case 1:
  263. return &v.sizeCache
  264. case 2:
  265. return &v.unknownFields
  266. default:
  267. return nil
  268. }
  269. }
  270. file_store_memo_proto_msgTypes[1].Exporter = func(v any, i int) any {
  271. switch v := v.(*MemoPayload_Property); i {
  272. case 0:
  273. return &v.state
  274. case 1:
  275. return &v.sizeCache
  276. case 2:
  277. return &v.unknownFields
  278. default:
  279. return nil
  280. }
  281. }
  282. file_store_memo_proto_msgTypes[2].Exporter = func(v any, i int) any {
  283. switch v := v.(*MemoPayload_Location); i {
  284. case 0:
  285. return &v.state
  286. case 1:
  287. return &v.sizeCache
  288. case 2:
  289. return &v.unknownFields
  290. default:
  291. return nil
  292. }
  293. }
  294. }
  295. type x struct{}
  296. out := protoimpl.TypeBuilder{
  297. File: protoimpl.DescBuilder{
  298. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  299. RawDescriptor: file_store_memo_proto_rawDesc,
  300. NumEnums: 0,
  301. NumMessages: 3,
  302. NumExtensions: 0,
  303. NumServices: 0,
  304. },
  305. GoTypes: file_store_memo_proto_goTypes,
  306. DependencyIndexes: file_store_memo_proto_depIdxs,
  307. MessageInfos: file_store_memo_proto_msgTypes,
  308. }.Build()
  309. File_store_memo_proto = out.File
  310. file_store_memo_proto_rawDesc = nil
  311. file_store_memo_proto_goTypes = nil
  312. file_store_memo_proto_depIdxs = nil
  313. }