Lines Matching defs:Article
68 type Article struct { struct
69 state protoimpl.MessageState
70 sizeCache protoimpl.SizeCache
71 unknownFields protoimpl.UnknownFields
73 …hor string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
74 Date *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
75 …itle string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
76 …nt string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
77 …uf:"varint,8,opt,name=status,proto3,enum=google.golang.org.Article_Status" json:"status,omitempty"`
78 Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
79 …]*anypb.Any `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"`
82 func (x *Article) Reset() {
91 func (x *Article) String() string {
95 func (*Article) ProtoMessage() {}
97 func (x *Article) ProtoReflect() protoreflect.Message {
110 func (*Article) Descriptor() ([]byte, []int) {
114 func (x *Article) GetAuthor() string {
121 func (x *Article) GetDate() *timestamppb.Timestamp {
128 func (x *Article) GetTitle() string {
135 func (x *Article) GetContent() string {
142 func (x *Article) GetStatus() Article_Status {
149 func (x *Article) GetTags() []string {
156 func (x *Article) GetAttachments() []*anypb.Any {