// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.8 // protoc (unknown) // source: group.proto package group import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 GroupItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键 Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识 Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // 群组编号 Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // 群组头像 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 群组名称 Introduce string `protobuf:"bytes,6,opt,name=introduce,proto3" json:"introduce,omitempty"` // 群组简介 CreatorId int64 `protobuf:"varint,7,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` // 创建者ID CretorIdentity string `protobuf:"bytes,8,opt,name=cretor_identity,json=cretorIdentity,proto3" json:"cretor_identity,omitempty"` // 创建者Identity MemberLimit int32 `protobuf:"varint,9,opt,name=member_limit,json=memberLimit,proto3" json:"member_limit,omitempty"` //最大成员数,0代表不限制 Master []string `protobuf:"bytes,10,rep,name=master,proto3" json:"master,omitempty"` // 管理员 Notice string `protobuf:"bytes,11,opt,name=notice,proto3" json:"notice,omitempty"` // 群组公告 Background string `protobuf:"bytes,12,opt,name=background,proto3" json:"background,omitempty"` // 群组背景 Tags []string `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"` // 群组标签 MemberTotal int32 `protobuf:"varint,14,opt,name=member_total,json=memberTotal,proto3" json:"member_total,omitempty"` // 群组成员数 EnableSearchByNumber bool `protobuf:"varint,15,opt,name=enable_search_by_number,json=enableSearchByNumber,proto3" json:"enable_search_by_number,omitempty"` //是否开启群号搜索 EnableSearchByName bool `protobuf:"varint,16,opt,name=enable_search_by_name,json=enableSearchByName,proto3" json:"enable_search_by_name,omitempty"` //是否开启群名搜索 CreatedAt string `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 群组创建时间 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GroupItem) Reset() { *x = GroupItem{} mi := &file_group_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GroupItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*GroupItem) ProtoMessage() {} func (x *GroupItem) ProtoReflect() protoreflect.Message { mi := &file_group_proto_msgTypes[0] 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 GroupItem.ProtoReflect.Descriptor instead. func (*GroupItem) Descriptor() ([]byte, []int) { return file_group_proto_rawDescGZIP(), []int{0} } func (x *GroupItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *GroupItem) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *GroupItem) GetNumber() int64 { if x != nil { return x.Number } return 0 } func (x *GroupItem) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *GroupItem) GetName() string { if x != nil { return x.Name } return "" } func (x *GroupItem) GetIntroduce() string { if x != nil { return x.Introduce } return "" } func (x *GroupItem) GetCreatorId() int64 { if x != nil { return x.CreatorId } return 0 } func (x *GroupItem) GetCretorIdentity() string { if x != nil { return x.CretorIdentity } return "" } func (x *GroupItem) GetMemberLimit() int32 { if x != nil { return x.MemberLimit } return 0 } func (x *GroupItem) GetMaster() []string { if x != nil { return x.Master } return nil } func (x *GroupItem) GetNotice() string { if x != nil { return x.Notice } return "" } func (x *GroupItem) GetBackground() string { if x != nil { return x.Background } return "" } func (x *GroupItem) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *GroupItem) GetMemberTotal() int32 { if x != nil { return x.MemberTotal } return 0 } func (x *GroupItem) GetEnableSearchByNumber() bool { if x != nil { return x.EnableSearchByNumber } return false } func (x *GroupItem) GetEnableSearchByName() bool { if x != nil { return x.EnableSearchByName } return false } func (x *GroupItem) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } type GroupsReply struct { state protoimpl.MessageState `protogen:"open.v1"` Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总记录数 Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` //版本号 Groups []*GroupItem `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` //群组信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GroupsReply) Reset() { *x = GroupsReply{} mi := &file_group_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GroupsReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*GroupsReply) ProtoMessage() {} func (x *GroupsReply) ProtoReflect() protoreflect.Message { mi := &file_group_proto_msgTypes[1] 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 GroupsReply.ProtoReflect.Descriptor instead. func (*GroupsReply) Descriptor() ([]byte, []int) { return file_group_proto_rawDescGZIP(), []int{1} } func (x *GroupsReply) GetTotal() int32 { if x != nil { return x.Total } return 0 } func (x *GroupsReply) GetVersion() int64 { if x != nil { return x.Version } return 0 } func (x *GroupsReply) GetGroups() []*GroupItem { if x != nil { return x.Groups } return nil } var File_group_proto protoreflect.FileDescriptor const file_group_proto_rawDesc = "" + "\n" + "\vgroup.proto\x12\x05group\x1a\fblocks.proto\"\x94\x04\n" + "\tGroupItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" + "\x06number\x18\x03 \x01(\x03R\x06number\x12\x16\n" + "\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x12\n" + "\x04name\x18\x05 \x01(\tR\x04name\x12\x1c\n" + "\tintroduce\x18\x06 \x01(\tR\tintroduce\x12\x1d\n" + "\n" + "creator_id\x18\a \x01(\x03R\tcreatorId\x12'\n" + "\x0fcretor_identity\x18\b \x01(\tR\x0ecretorIdentity\x12!\n" + "\fmember_limit\x18\t \x01(\x05R\vmemberLimit\x12\x16\n" + "\x06master\x18\n" + " \x03(\tR\x06master\x12\x16\n" + "\x06notice\x18\v \x01(\tR\x06notice\x12\x1e\n" + "\n" + "background\x18\f \x01(\tR\n" + "background\x12\x12\n" + "\x04tags\x18\r \x03(\tR\x04tags\x12!\n" + "\fmember_total\x18\x0e \x01(\x05R\vmemberTotal\x125\n" + "\x17enable_search_by_number\x18\x0f \x01(\bR\x14enableSearchByNumber\x121\n" + "\x15enable_search_by_name\x18\x10 \x01(\bR\x12enableSearchByName\x12\x1d\n" + "\n" + "created_at\x18\x11 \x01(\tR\tcreatedAt\"g\n" + "\vGroupsReply\x12\x14\n" + "\x05total\x18\x01 \x01(\x05R\x05total\x12\x18\n" + "\aversion\x18\x02 \x01(\x03R\aversion\x12(\n" + "\x06groups\x18\x03 \x03(\v2\x10.group.GroupItemR\x06groups2\xa8\x02\n" + "\x05Basic\x122\n" + "\x06Search\x12\x14.group.SearchRequest\x1a\x12.group.GroupsReply\x12)\n" + "\x05Fetch\x12\f.group.Empty\x1a\x12.group.GroupsReply\x12,\n" + "\x03Get\x12\x13.group.IdentRequest\x1a\x10.group.GroupItem\x12.\n" + "\x06Create\x12\x10.group.GroupItem\x1a\x12.group.StatusReply\x12.\n" + "\x06Modify\x12\x10.group.GroupItem\x1a\x12.group.StatusReply\x122\n" + "\aDisband\x12\x13.group.IdentRequest\x1a\x12.group.StatusReplyB\tZ\a.;groupb\x06proto3" var ( file_group_proto_rawDescOnce sync.Once file_group_proto_rawDescData []byte ) func file_group_proto_rawDescGZIP() []byte { file_group_proto_rawDescOnce.Do(func() { file_group_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_group_proto_rawDesc), len(file_group_proto_rawDesc))) }) return file_group_proto_rawDescData } var file_group_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_group_proto_goTypes = []any{ (*GroupItem)(nil), // 0: group.GroupItem (*GroupsReply)(nil), // 1: group.GroupsReply (*SearchRequest)(nil), // 2: group.SearchRequest (*Empty)(nil), // 3: group.Empty (*IdentRequest)(nil), // 4: group.IdentRequest (*StatusReply)(nil), // 5: group.StatusReply } var file_group_proto_depIdxs = []int32{ 0, // 0: group.GroupsReply.groups:type_name -> group.GroupItem 2, // 1: group.Basic.Search:input_type -> group.SearchRequest 3, // 2: group.Basic.Fetch:input_type -> group.Empty 4, // 3: group.Basic.Get:input_type -> group.IdentRequest 0, // 4: group.Basic.Create:input_type -> group.GroupItem 0, // 5: group.Basic.Modify:input_type -> group.GroupItem 4, // 6: group.Basic.Disband:input_type -> group.IdentRequest 1, // 7: group.Basic.Search:output_type -> group.GroupsReply 1, // 8: group.Basic.Fetch:output_type -> group.GroupsReply 0, // 9: group.Basic.Get:output_type -> group.GroupItem 5, // 10: group.Basic.Create:output_type -> group.StatusReply 5, // 11: group.Basic.Modify:output_type -> group.StatusReply 5, // 12: group.Basic.Disband:output_type -> group.StatusReply 7, // [7:13] is the sub-list for method output_type 1, // [1:7] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_group_proto_init() } func file_group_proto_init() { if File_group_proto != nil { return } file_blocks_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_group_proto_rawDesc), len(file_group_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_group_proto_goTypes, DependencyIndexes: file_group_proto_depIdxs, MessageInfos: file_group_proto_msgTypes, }.Build() File_group_proto = out.File file_group_proto_goTypes = nil file_group_proto_depIdxs = nil }