// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0-devel // protoc v3.17.3 // source: topic.proto package discoursepb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 Topic struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields PostStream *Topic_PostStream `protobuf:"bytes,1,opt,name=post_stream,json=postStream,proto3" json:"post_stream,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` PostsCount int32 `protobuf:"varint,5,opt,name=posts_count,json=postsCount,proto3" json:"posts_count,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Slug string `protobuf:"bytes,7,opt,name=slug,proto3" json:"slug,omitempty"` LikeCount int32 `protobuf:"varint,8,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` Views int32 `protobuf:"varint,9,opt,name=views,proto3" json:"views,omitempty"` Details *Topic_Details `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"` } func (x *Topic) Reset() { *x = Topic{} if protoimpl.UnsafeEnabled { mi := &file_topic_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Topic) String() string { return protoimpl.X.MessageStringOf(x) } func (*Topic) ProtoMessage() {} func (x *Topic) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Topic.ProtoReflect.Descriptor instead. func (*Topic) Descriptor() ([]byte, []int) { return file_topic_proto_rawDescGZIP(), []int{0} } func (x *Topic) GetPostStream() *Topic_PostStream { if x != nil { return x.PostStream } return nil } func (x *Topic) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *Topic) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *Topic) GetTitle() string { if x != nil { return x.Title } return "" } func (x *Topic) GetPostsCount() int32 { if x != nil { return x.PostsCount } return 0 } func (x *Topic) GetCreatedAt() *timestamppb.Timestamp { if x != nil { return x.CreatedAt } return nil } func (x *Topic) GetSlug() string { if x != nil { return x.Slug } return "" } func (x *Topic) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } func (x *Topic) GetViews() int32 { if x != nil { return x.Views } return 0 } func (x *Topic) GetDetails() *Topic_Details { if x != nil { return x.Details } return nil } type Topic_PostStream struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Posts []*Topic_PostStream_Posts `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` } func (x *Topic_PostStream) Reset() { *x = Topic_PostStream{} if protoimpl.UnsafeEnabled { mi := &file_topic_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Topic_PostStream) String() string { return protoimpl.X.MessageStringOf(x) } func (*Topic_PostStream) ProtoMessage() {} func (x *Topic_PostStream) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Topic_PostStream.ProtoReflect.Descriptor instead. func (*Topic_PostStream) Descriptor() ([]byte, []int) { return file_topic_proto_rawDescGZIP(), []int{0, 0} } func (x *Topic_PostStream) GetPosts() []*Topic_PostStream_Posts { if x != nil { return x.Posts } return nil } type Topic_Details struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CreatedBy *Topic_Details_CreatedBy `protobuf:"bytes,1,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` } func (x *Topic_Details) Reset() { *x = Topic_Details{} if protoimpl.UnsafeEnabled { mi := &file_topic_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Topic_Details) String() string { return protoimpl.X.MessageStringOf(x) } func (*Topic_Details) ProtoMessage() {} func (x *Topic_Details) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Topic_Details.ProtoReflect.Descriptor instead. func (*Topic_Details) Descriptor() ([]byte, []int) { return file_topic_proto_rawDescGZIP(), []int{0, 1} } func (x *Topic_Details) GetCreatedBy() *Topic_Details_CreatedBy { if x != nil { return x.CreatedBy } return nil } type Topic_PostStream_Posts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cooked string `protobuf:"bytes,1,opt,name=cooked,proto3" json:"cooked,omitempty"` PostNumber int32 `protobuf:"varint,2,opt,name=post_number,json=postNumber,proto3" json:"post_number,omitempty"` Admin bool `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"` Staff bool `protobuf:"varint,4,opt,name=staff,proto3" json:"staff,omitempty"` } func (x *Topic_PostStream_Posts) Reset() { *x = Topic_PostStream_Posts{} if protoimpl.UnsafeEnabled { mi := &file_topic_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Topic_PostStream_Posts) String() string { return protoimpl.X.MessageStringOf(x) } func (*Topic_PostStream_Posts) ProtoMessage() {} func (x *Topic_PostStream_Posts) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Topic_PostStream_Posts.ProtoReflect.Descriptor instead. func (*Topic_PostStream_Posts) Descriptor() ([]byte, []int) { return file_topic_proto_rawDescGZIP(), []int{0, 0, 0} } func (x *Topic_PostStream_Posts) GetCooked() string { if x != nil { return x.Cooked } return "" } func (x *Topic_PostStream_Posts) GetPostNumber() int32 { if x != nil { return x.PostNumber } return 0 } func (x *Topic_PostStream_Posts) GetAdmin() bool { if x != nil { return x.Admin } return false } func (x *Topic_PostStream_Posts) GetStaff() bool { if x != nil { return x.Staff } return false } type Topic_Details_CreatedBy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AvatarTemplate string `protobuf:"bytes,3,opt,name=avatar_template,json=avatarTemplate,proto3" json:"avatar_template,omitempty"` } func (x *Topic_Details_CreatedBy) Reset() { *x = Topic_Details_CreatedBy{} if protoimpl.UnsafeEnabled { mi := &file_topic_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Topic_Details_CreatedBy) String() string { return protoimpl.X.MessageStringOf(x) } func (*Topic_Details_CreatedBy) ProtoMessage() {} func (x *Topic_Details_CreatedBy) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Topic_Details_CreatedBy.ProtoReflect.Descriptor instead. func (*Topic_Details_CreatedBy) Descriptor() ([]byte, []int) { return file_topic_proto_rawDescGZIP(), []int{0, 1, 0} } func (x *Topic_Details_CreatedBy) GetUsername() string { if x != nil { return x.Username } return "" } func (x *Topic_Details_CreatedBy) GetName() string { if x != nil { return x.Name } return "" } func (x *Topic_Details_CreatedBy) GetAvatarTemplate() string { if x != nil { return x.AvatarTemplate } return "" } var File_topic_proto protoreflect.FileDescriptor var file_topic_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x05, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, 0x69, 0x6b, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0xbc, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x40, 0x0a, 0x05, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x05, 0x70, 0x6f, 0x73, 0x74, 0x73, 0x1a, 0x6c, 0x0a, 0x05, 0x50, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x66, 0x66, 0x1a, 0xbb, 0x01, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x1a, 0x64, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x2e, 0x30, 0x63, 0x64, 0x2e, 0x78, 0x79, 0x7a, 0x2f, 0x6d, 0x69, 0x63, 0x68, 0x61, 0x65, 0x6c, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_topic_proto_rawDescOnce sync.Once file_topic_proto_rawDescData = file_topic_proto_rawDesc ) func file_topic_proto_rawDescGZIP() []byte { file_topic_proto_rawDescOnce.Do(func() { file_topic_proto_rawDescData = protoimpl.X.CompressGZIP(file_topic_proto_rawDescData) }) return file_topic_proto_rawDescData } var file_topic_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_topic_proto_goTypes = []interface{}{ (*Topic)(nil), // 0: discourse.protobuf.Topic (*Topic_PostStream)(nil), // 1: discourse.protobuf.Topic.PostStream (*Topic_Details)(nil), // 2: discourse.protobuf.Topic.Details (*Topic_PostStream_Posts)(nil), // 3: discourse.protobuf.Topic.PostStream.Posts (*Topic_Details_CreatedBy)(nil), // 4: discourse.protobuf.Topic.Details.CreatedBy (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp } var file_topic_proto_depIdxs = []int32{ 1, // 0: discourse.protobuf.Topic.post_stream:type_name -> discourse.protobuf.Topic.PostStream 5, // 1: discourse.protobuf.Topic.created_at:type_name -> google.protobuf.Timestamp 2, // 2: discourse.protobuf.Topic.details:type_name -> discourse.protobuf.Topic.Details 3, // 3: discourse.protobuf.Topic.PostStream.posts:type_name -> discourse.protobuf.Topic.PostStream.Posts 4, // 4: discourse.protobuf.Topic.Details.created_by:type_name -> discourse.protobuf.Topic.Details.CreatedBy 5, // [5:5] is the sub-list for method output_type 5, // [5:5] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_topic_proto_init() } func file_topic_proto_init() { if File_topic_proto != nil { return } if !protoimpl.UnsafeEnabled { file_topic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Topic); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_topic_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Topic_PostStream); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_topic_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Topic_Details); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_topic_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Topic_PostStream_Posts); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_topic_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Topic_Details_CreatedBy); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_topic_proto_rawDesc, NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, GoTypes: file_topic_proto_goTypes, DependencyIndexes: file_topic_proto_depIdxs, MessageInfos: file_topic_proto_msgTypes, }.Build() File_topic_proto = out.File file_topic_proto_rawDesc = nil file_topic_proto_goTypes = nil file_topic_proto_depIdxs = nil }