Documentation ¶
Index ¶
- Variables
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetAuthor() string
- func (x *Comment) GetText() string
- func (x *Comment) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Comment) GetUpdatedBy() string
- func (x *Comment) GetWrittenAt() *timestamppb.Timestamp
- func (m *Comment) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Comment) MarshalToVT(dAtA []byte) (int, error)
- func (m *Comment) MarshalVT() (dAtA []byte, err error)
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (m *Comment) SizeVT() (n int)
- func (x *Comment) String() string
- func (m *Comment) UnmarshalVT(dAtA []byte) error
- type Comments
- func (*Comments) Descriptor() ([]byte, []int)deprecated
- func (x *Comments) GetItems() []*Comment
- func (m *Comments) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Comments) MarshalToVT(dAtA []byte) (int, error)
- func (m *Comments) MarshalVT() (dAtA []byte, err error)
- func (*Comments) ProtoMessage()
- func (x *Comments) ProtoReflect() protoreflect.Message
- func (x *Comments) Reset()
- func (m *Comments) SizeVT() (n int)
- func (x *Comments) String() string
- func (m *Comments) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_api_comments_comments_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"` WrittenAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetUpdatedAt ¶
func (x *Comment) GetUpdatedAt() *timestamppb.Timestamp
func (*Comment) GetUpdatedBy ¶
func (*Comment) GetWrittenAt ¶
func (x *Comment) GetWrittenAt() *timestamppb.Timestamp
func (*Comment) MarshalToSizedBufferVT ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
func (*Comment) UnmarshalVT ¶
type Comments ¶
type Comments struct { Items []*Comment `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Comments) Descriptor
deprecated
func (*Comments) MarshalToSizedBufferVT ¶
func (*Comments) ProtoMessage ¶
func (*Comments) ProtoMessage()
func (*Comments) ProtoReflect ¶
func (x *Comments) ProtoReflect() protoreflect.Message
func (*Comments) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.