reaction.pb.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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/reaction.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 ReactionType int32
  20. const (
  21. ReactionType_REACTION_TYPE_UNSPECIFIED ReactionType = 0
  22. ReactionType_THUMBS_UP ReactionType = 1
  23. ReactionType_THUMBS_DOWN ReactionType = 2
  24. ReactionType_HEART ReactionType = 3
  25. ReactionType_FIRE ReactionType = 4
  26. ReactionType_CLAPPING_HANDS ReactionType = 5
  27. ReactionType_LAUGH ReactionType = 6
  28. ReactionType_OK_HAND ReactionType = 7
  29. ReactionType_ROCKET ReactionType = 8
  30. ReactionType_EYES ReactionType = 9
  31. ReactionType_THINKING_FACE ReactionType = 10
  32. ReactionType_CLOWN_FACE ReactionType = 11
  33. ReactionType_QUESTION_MARK ReactionType = 12
  34. )
  35. // Enum value maps for ReactionType.
  36. var (
  37. ReactionType_name = map[int32]string{
  38. 0: "REACTION_TYPE_UNSPECIFIED",
  39. 1: "THUMBS_UP",
  40. 2: "THUMBS_DOWN",
  41. 3: "HEART",
  42. 4: "FIRE",
  43. 5: "CLAPPING_HANDS",
  44. 6: "LAUGH",
  45. 7: "OK_HAND",
  46. 8: "ROCKET",
  47. 9: "EYES",
  48. 10: "THINKING_FACE",
  49. 11: "CLOWN_FACE",
  50. 12: "QUESTION_MARK",
  51. }
  52. ReactionType_value = map[string]int32{
  53. "REACTION_TYPE_UNSPECIFIED": 0,
  54. "THUMBS_UP": 1,
  55. "THUMBS_DOWN": 2,
  56. "HEART": 3,
  57. "FIRE": 4,
  58. "CLAPPING_HANDS": 5,
  59. "LAUGH": 6,
  60. "OK_HAND": 7,
  61. "ROCKET": 8,
  62. "EYES": 9,
  63. "THINKING_FACE": 10,
  64. "CLOWN_FACE": 11,
  65. "QUESTION_MARK": 12,
  66. }
  67. )
  68. func (x ReactionType) Enum() *ReactionType {
  69. p := new(ReactionType)
  70. *p = x
  71. return p
  72. }
  73. func (x ReactionType) String() string {
  74. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  75. }
  76. func (ReactionType) Descriptor() protoreflect.EnumDescriptor {
  77. return file_store_reaction_proto_enumTypes[0].Descriptor()
  78. }
  79. func (ReactionType) Type() protoreflect.EnumType {
  80. return &file_store_reaction_proto_enumTypes[0]
  81. }
  82. func (x ReactionType) Number() protoreflect.EnumNumber {
  83. return protoreflect.EnumNumber(x)
  84. }
  85. // Deprecated: Use ReactionType.Descriptor instead.
  86. func (ReactionType) EnumDescriptor() ([]byte, []int) {
  87. return file_store_reaction_proto_rawDescGZIP(), []int{0}
  88. }
  89. var File_store_reaction_proto protoreflect.FileDescriptor
  90. var file_store_reaction_proto_rawDesc = []byte{
  91. 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  92. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,
  93. 0x6f, 0x72, 0x65, 0x2a, 0xda, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  94. 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
  95. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
  96. 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x55, 0x50,
  97. 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x44, 0x4f, 0x57,
  98. 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x45, 0x41, 0x52, 0x54, 0x10, 0x03, 0x12, 0x08,
  99. 0x0a, 0x04, 0x46, 0x49, 0x52, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x41, 0x50,
  100. 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x53, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05,
  101. 0x4c, 0x41, 0x55, 0x47, 0x48, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x4b, 0x5f, 0x48, 0x41,
  102. 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x08,
  103. 0x12, 0x08, 0x0a, 0x04, 0x45, 0x59, 0x45, 0x53, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x48,
  104. 0x49, 0x4e, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x0a, 0x12, 0x0e, 0x0a,
  105. 0x0a, 0x43, 0x4c, 0x4f, 0x57, 0x4e, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x0b, 0x12, 0x11, 0x0a,
  106. 0x0d, 0x51, 0x55, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x0c,
  107. 0x42, 0x98, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73,
  108. 0x74, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
  109. 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  110. 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  111. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65,
  112. 0xa2, 0x02, 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x53,
  113. 0x74, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f,
  114. 0x72, 0x65, 0xe2, 0x02, 0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65,
  115. 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d,
  116. 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
  117. 0x74, 0x6f, 0x33,
  118. }
  119. var (
  120. file_store_reaction_proto_rawDescOnce sync.Once
  121. file_store_reaction_proto_rawDescData = file_store_reaction_proto_rawDesc
  122. )
  123. func file_store_reaction_proto_rawDescGZIP() []byte {
  124. file_store_reaction_proto_rawDescOnce.Do(func() {
  125. file_store_reaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_reaction_proto_rawDescData)
  126. })
  127. return file_store_reaction_proto_rawDescData
  128. }
  129. var file_store_reaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  130. var file_store_reaction_proto_goTypes = []any{
  131. (ReactionType)(0), // 0: memos.store.ReactionType
  132. }
  133. var file_store_reaction_proto_depIdxs = []int32{
  134. 0, // [0:0] is the sub-list for method output_type
  135. 0, // [0:0] is the sub-list for method input_type
  136. 0, // [0:0] is the sub-list for extension type_name
  137. 0, // [0:0] is the sub-list for extension extendee
  138. 0, // [0:0] is the sub-list for field type_name
  139. }
  140. func init() { file_store_reaction_proto_init() }
  141. func file_store_reaction_proto_init() {
  142. if File_store_reaction_proto != nil {
  143. return
  144. }
  145. type x struct{}
  146. out := protoimpl.TypeBuilder{
  147. File: protoimpl.DescBuilder{
  148. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  149. RawDescriptor: file_store_reaction_proto_rawDesc,
  150. NumEnums: 1,
  151. NumMessages: 0,
  152. NumExtensions: 0,
  153. NumServices: 0,
  154. },
  155. GoTypes: file_store_reaction_proto_goTypes,
  156. DependencyIndexes: file_store_reaction_proto_depIdxs,
  157. EnumInfos: file_store_reaction_proto_enumTypes,
  158. }.Build()
  159. File_store_reaction_proto = out.File
  160. file_store_reaction_proto_rawDesc = nil
  161. file_store_reaction_proto_goTypes = nil
  162. file_store_reaction_proto_depIdxs = nil
  163. }