Documentation ¶
Index ¶
- Variables
- type Blog
- func (*Blog) Descriptor() ([]byte, []int)deprecated
- func (x *Blog) GetAuthor() string
- func (x *Blog) GetContent() string
- func (x *Blog) GetIsPublished() bool
- func (x *Blog) GetSummary() string
- func (x *Blog) GetTitle() string
- func (*Blog) ProtoMessage()
- func (x *Blog) ProtoReflect() protoreflect.Message
- func (x *Blog) Reset()
- func (x *Blog) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pb_hello_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` IsPublished bool `protobuf:"varint,5,opt,name=is_published,json=isPublished,proto3" json:"is_published,omitempty"` // contains filtered or unexported fields }
func (*Blog) Descriptor
deprecated
func (*Blog) GetContent ¶
func (*Blog) GetIsPublished ¶
func (*Blog) GetSummary ¶
func (*Blog) ProtoMessage ¶
func (*Blog) ProtoMessage()
func (*Blog) ProtoReflect ¶
func (x *Blog) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.