123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.34.2
- // protoc (unknown)
- // source: store/reaction.proto
- package store
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type ReactionType int32
- const (
- ReactionType_REACTION_TYPE_UNSPECIFIED ReactionType = 0
- ReactionType_THUMBS_UP ReactionType = 1
- ReactionType_THUMBS_DOWN ReactionType = 2
- ReactionType_HEART ReactionType = 3
- ReactionType_FIRE ReactionType = 4
- ReactionType_CLAPPING_HANDS ReactionType = 5
- ReactionType_LAUGH ReactionType = 6
- ReactionType_OK_HAND ReactionType = 7
- ReactionType_ROCKET ReactionType = 8
- ReactionType_EYES ReactionType = 9
- ReactionType_THINKING_FACE ReactionType = 10
- ReactionType_CLOWN_FACE ReactionType = 11
- ReactionType_QUESTION_MARK ReactionType = 12
- )
- // Enum value maps for ReactionType.
- var (
- ReactionType_name = map[int32]string{
- 0: "REACTION_TYPE_UNSPECIFIED",
- 1: "THUMBS_UP",
- 2: "THUMBS_DOWN",
- 3: "HEART",
- 4: "FIRE",
- 5: "CLAPPING_HANDS",
- 6: "LAUGH",
- 7: "OK_HAND",
- 8: "ROCKET",
- 9: "EYES",
- 10: "THINKING_FACE",
- 11: "CLOWN_FACE",
- 12: "QUESTION_MARK",
- }
- ReactionType_value = map[string]int32{
- "REACTION_TYPE_UNSPECIFIED": 0,
- "THUMBS_UP": 1,
- "THUMBS_DOWN": 2,
- "HEART": 3,
- "FIRE": 4,
- "CLAPPING_HANDS": 5,
- "LAUGH": 6,
- "OK_HAND": 7,
- "ROCKET": 8,
- "EYES": 9,
- "THINKING_FACE": 10,
- "CLOWN_FACE": 11,
- "QUESTION_MARK": 12,
- }
- )
- func (x ReactionType) Enum() *ReactionType {
- p := new(ReactionType)
- *p = x
- return p
- }
- func (x ReactionType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ReactionType) Descriptor() protoreflect.EnumDescriptor {
- return file_store_reaction_proto_enumTypes[0].Descriptor()
- }
- func (ReactionType) Type() protoreflect.EnumType {
- return &file_store_reaction_proto_enumTypes[0]
- }
- func (x ReactionType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ReactionType.Descriptor instead.
- func (ReactionType) EnumDescriptor() ([]byte, []int) {
- return file_store_reaction_proto_rawDescGZIP(), []int{0}
- }
- var File_store_reaction_proto protoreflect.FileDescriptor
- var file_store_reaction_proto_rawDesc = []byte{
- 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,
- 0x6f, 0x72, 0x65, 0x2a, 0xda, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
- 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
- 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x55, 0x50,
- 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x44, 0x4f, 0x57,
- 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x45, 0x41, 0x52, 0x54, 0x10, 0x03, 0x12, 0x08,
- 0x0a, 0x04, 0x46, 0x49, 0x52, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x41, 0x50,
- 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x53, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05,
- 0x4c, 0x41, 0x55, 0x47, 0x48, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x4b, 0x5f, 0x48, 0x41,
- 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x08,
- 0x12, 0x08, 0x0a, 0x04, 0x45, 0x59, 0x45, 0x53, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x48,
- 0x49, 0x4e, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x0a, 0x12, 0x0e, 0x0a,
- 0x0a, 0x43, 0x4c, 0x4f, 0x57, 0x4e, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x0b, 0x12, 0x11, 0x0a,
- 0x0d, 0x51, 0x55, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x0c,
- 0x42, 0x98, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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_reaction_proto_rawDescOnce sync.Once
- file_store_reaction_proto_rawDescData = file_store_reaction_proto_rawDesc
- )
- func file_store_reaction_proto_rawDescGZIP() []byte {
- file_store_reaction_proto_rawDescOnce.Do(func() {
- file_store_reaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_reaction_proto_rawDescData)
- })
- return file_store_reaction_proto_rawDescData
- }
- var file_store_reaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_store_reaction_proto_goTypes = []any{
- (ReactionType)(0), // 0: memos.store.ReactionType
- }
- var file_store_reaction_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_store_reaction_proto_init() }
- func file_store_reaction_proto_init() {
- if File_store_reaction_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_store_reaction_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 0,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_store_reaction_proto_goTypes,
- DependencyIndexes: file_store_reaction_proto_depIdxs,
- EnumInfos: file_store_reaction_proto_enumTypes,
- }.Build()
- File_store_reaction_proto = out.File
- file_store_reaction_proto_rawDesc = nil
- file_store_reaction_proto_goTypes = nil
- file_store_reaction_proto_depIdxs = nil
- }
|