tailly_clips/proto/clip.pb.go
admin 7bfc7eb9a8
All checks were successful
continuous-integration/drone/push Build is passing
v.0.0.2 Убран duration из клипов
2025-09-02 23:03:30 +03:00

1616 lines
48 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc v3.21.12
// source: clip.proto
package proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 CreateClipRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
VideoData []byte `protobuf:"bytes,3,opt,name=video_data,json=videoData,proto3" json:"video_data,omitempty"`
FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateClipRequest) Reset() {
*x = CreateClipRequest{}
mi := &file_clip_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateClipRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateClipRequest) ProtoMessage() {}
func (x *CreateClipRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_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 CreateClipRequest.ProtoReflect.Descriptor instead.
func (*CreateClipRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{0}
}
func (x *CreateClipRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CreateClipRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *CreateClipRequest) GetVideoData() []byte {
if x != nil {
return x.VideoData
}
return nil
}
func (x *CreateClipRequest) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *CreateClipRequest) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
type CreateClipResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clip *Clip `protobuf:"bytes,1,opt,name=clip,proto3" json:"clip,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateClipResponse) Reset() {
*x = CreateClipResponse{}
mi := &file_clip_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateClipResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateClipResponse) ProtoMessage() {}
func (x *CreateClipResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_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 CreateClipResponse.ProtoReflect.Descriptor instead.
func (*CreateClipResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{1}
}
func (x *CreateClipResponse) GetClip() *Clip {
if x != nil {
return x.Clip
}
return nil
}
type GetClipRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipRequest) Reset() {
*x = GetClipRequest{}
mi := &file_clip_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipRequest) ProtoMessage() {}
func (x *GetClipRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[2]
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 GetClipRequest.ProtoReflect.Descriptor instead.
func (*GetClipRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{2}
}
func (x *GetClipRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
type GetClipResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clip *Clip `protobuf:"bytes,1,opt,name=clip,proto3" json:"clip,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipResponse) Reset() {
*x = GetClipResponse{}
mi := &file_clip_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipResponse) ProtoMessage() {}
func (x *GetClipResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[3]
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 GetClipResponse.ProtoReflect.Descriptor instead.
func (*GetClipResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{3}
}
func (x *GetClipResponse) GetClip() *Clip {
if x != nil {
return x.Clip
}
return nil
}
type GetUserClipsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUserClipsRequest) Reset() {
*x = GetUserClipsRequest{}
mi := &file_clip_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUserClipsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUserClipsRequest) ProtoMessage() {}
func (x *GetUserClipsRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[4]
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 GetUserClipsRequest.ProtoReflect.Descriptor instead.
func (*GetUserClipsRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{4}
}
func (x *GetUserClipsRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
func (x *GetUserClipsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *GetUserClipsRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
type GetUserClipsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clips []*Clip `protobuf:"bytes,1,rep,name=clips,proto3" json:"clips,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUserClipsResponse) Reset() {
*x = GetUserClipsResponse{}
mi := &file_clip_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUserClipsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUserClipsResponse) ProtoMessage() {}
func (x *GetUserClipsResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[5]
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 GetUserClipsResponse.ProtoReflect.Descriptor instead.
func (*GetUserClipsResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{5}
}
func (x *GetUserClipsResponse) GetClips() []*Clip {
if x != nil {
return x.Clips
}
return nil
}
func (x *GetUserClipsResponse) GetTotalCount() int32 {
if x != nil {
return x.TotalCount
}
return 0
}
type GetClipsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipsRequest) Reset() {
*x = GetClipsRequest{}
mi := &file_clip_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipsRequest) ProtoMessage() {}
func (x *GetClipsRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[6]
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 GetClipsRequest.ProtoReflect.Descriptor instead.
func (*GetClipsRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{6}
}
func (x *GetClipsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *GetClipsRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
type GetClipsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clips []*Clip `protobuf:"bytes,1,rep,name=clips,proto3" json:"clips,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipsResponse) Reset() {
*x = GetClipsResponse{}
mi := &file_clip_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipsResponse) ProtoMessage() {}
func (x *GetClipsResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[7]
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 GetClipsResponse.ProtoReflect.Descriptor instead.
func (*GetClipsResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{7}
}
func (x *GetClipsResponse) GetClips() []*Clip {
if x != nil {
return x.Clips
}
return nil
}
func (x *GetClipsResponse) GetTotalCount() int32 {
if x != nil {
return x.TotalCount
}
return 0
}
type DeleteClipRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteClipRequest) Reset() {
*x = DeleteClipRequest{}
mi := &file_clip_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteClipRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteClipRequest) ProtoMessage() {}
func (x *DeleteClipRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[8]
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 DeleteClipRequest.ProtoReflect.Descriptor instead.
func (*DeleteClipRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{8}
}
func (x *DeleteClipRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *DeleteClipRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
type LikeClipRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LikeClipRequest) Reset() {
*x = LikeClipRequest{}
mi := &file_clip_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LikeClipRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LikeClipRequest) ProtoMessage() {}
func (x *LikeClipRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[9]
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 LikeClipRequest.ProtoReflect.Descriptor instead.
func (*LikeClipRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{9}
}
func (x *LikeClipRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *LikeClipRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
type LikeClipResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Like *ClipLike `protobuf:"bytes,1,opt,name=like,proto3" json:"like,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LikeClipResponse) Reset() {
*x = LikeClipResponse{}
mi := &file_clip_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LikeClipResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LikeClipResponse) ProtoMessage() {}
func (x *LikeClipResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[10]
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 LikeClipResponse.ProtoReflect.Descriptor instead.
func (*LikeClipResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{10}
}
func (x *LikeClipResponse) GetLike() *ClipLike {
if x != nil {
return x.Like
}
return nil
}
type UnlikeClipRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UnlikeClipRequest) Reset() {
*x = UnlikeClipRequest{}
mi := &file_clip_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UnlikeClipRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UnlikeClipRequest) ProtoMessage() {}
func (x *UnlikeClipRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[11]
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 UnlikeClipRequest.ProtoReflect.Descriptor instead.
func (*UnlikeClipRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{11}
}
func (x *UnlikeClipRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *UnlikeClipRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
type GetClipLikesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipLikesRequest) Reset() {
*x = GetClipLikesRequest{}
mi := &file_clip_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipLikesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipLikesRequest) ProtoMessage() {}
func (x *GetClipLikesRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[12]
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 GetClipLikesRequest.ProtoReflect.Descriptor instead.
func (*GetClipLikesRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{12}
}
func (x *GetClipLikesRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *GetClipLikesRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *GetClipLikesRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
type GetClipLikesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Likes []*ClipLike `protobuf:"bytes,1,rep,name=likes,proto3" json:"likes,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipLikesResponse) Reset() {
*x = GetClipLikesResponse{}
mi := &file_clip_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipLikesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipLikesResponse) ProtoMessage() {}
func (x *GetClipLikesResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[13]
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 GetClipLikesResponse.ProtoReflect.Descriptor instead.
func (*GetClipLikesResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{13}
}
func (x *GetClipLikesResponse) GetLikes() []*ClipLike {
if x != nil {
return x.Likes
}
return nil
}
func (x *GetClipLikesResponse) GetTotalCount() int32 {
if x != nil {
return x.TotalCount
}
return 0
}
type CheckIfLikedRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckIfLikedRequest) Reset() {
*x = CheckIfLikedRequest{}
mi := &file_clip_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckIfLikedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckIfLikedRequest) ProtoMessage() {}
func (x *CheckIfLikedRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[14]
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 CheckIfLikedRequest.ProtoReflect.Descriptor instead.
func (*CheckIfLikedRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{14}
}
func (x *CheckIfLikedRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *CheckIfLikedRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
type CheckIfLikedResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
IsLiked bool `protobuf:"varint,1,opt,name=is_liked,json=isLiked,proto3" json:"is_liked,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckIfLikedResponse) Reset() {
*x = CheckIfLikedResponse{}
mi := &file_clip_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckIfLikedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckIfLikedResponse) ProtoMessage() {}
func (x *CheckIfLikedResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[15]
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 CheckIfLikedResponse.ProtoReflect.Descriptor instead.
func (*CheckIfLikedResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{15}
}
func (x *CheckIfLikedResponse) GetIsLiked() bool {
if x != nil {
return x.IsLiked
}
return false
}
type CreateCommentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCommentRequest) Reset() {
*x = CreateCommentRequest{}
mi := &file_clip_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCommentRequest) ProtoMessage() {}
func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[16]
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 CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{16}
}
func (x *CreateCommentRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *CreateCommentRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CreateCommentRequest) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
type CreateCommentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Comment *ClipComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCommentResponse) Reset() {
*x = CreateCommentResponse{}
mi := &file_clip_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCommentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCommentResponse) ProtoMessage() {}
func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[17]
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 CreateCommentResponse.ProtoReflect.Descriptor instead.
func (*CreateCommentResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{17}
}
func (x *CreateCommentResponse) GetComment() *ClipComment {
if x != nil {
return x.Comment
}
return nil
}
type GetClipCommentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClipId int32 `protobuf:"varint,1,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipCommentsRequest) Reset() {
*x = GetClipCommentsRequest{}
mi := &file_clip_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipCommentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipCommentsRequest) ProtoMessage() {}
func (x *GetClipCommentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[18]
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 GetClipCommentsRequest.ProtoReflect.Descriptor instead.
func (*GetClipCommentsRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{18}
}
func (x *GetClipCommentsRequest) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *GetClipCommentsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *GetClipCommentsRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
type GetClipCommentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Comments []*ClipComment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetClipCommentsResponse) Reset() {
*x = GetClipCommentsResponse{}
mi := &file_clip_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetClipCommentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetClipCommentsResponse) ProtoMessage() {}
func (x *GetClipCommentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[19]
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 GetClipCommentsResponse.ProtoReflect.Descriptor instead.
func (*GetClipCommentsResponse) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{19}
}
func (x *GetClipCommentsResponse) GetComments() []*ClipComment {
if x != nil {
return x.Comments
}
return nil
}
func (x *GetClipCommentsResponse) GetTotalCount() int32 {
if x != nil {
return x.TotalCount
}
return 0
}
type DeleteCommentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
CommentId int32 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteCommentRequest) Reset() {
*x = DeleteCommentRequest{}
mi := &file_clip_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteCommentRequest) ProtoMessage() {}
func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[20]
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 DeleteCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteCommentRequest) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{20}
}
func (x *DeleteCommentRequest) GetCommentId() int32 {
if x != nil {
return x.CommentId
}
return 0
}
func (x *DeleteCommentRequest) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
type Clip struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
VideoUrl string `protobuf:"bytes,3,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"`
ThumbnailUrl string `protobuf:"bytes,4,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
AuthorId int32 `protobuf:"varint,5,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
LikesCount int32 `protobuf:"varint,6,opt,name=likes_count,json=likesCount,proto3" json:"likes_count,omitempty"`
CommentsCount int32 `protobuf:"varint,7,opt,name=comments_count,json=commentsCount,proto3" json:"comments_count,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Clip) Reset() {
*x = Clip{}
mi := &file_clip_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Clip) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Clip) ProtoMessage() {}
func (x *Clip) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[21]
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 Clip.ProtoReflect.Descriptor instead.
func (*Clip) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{21}
}
func (x *Clip) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *Clip) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *Clip) GetVideoUrl() string {
if x != nil {
return x.VideoUrl
}
return ""
}
func (x *Clip) GetThumbnailUrl() string {
if x != nil {
return x.ThumbnailUrl
}
return ""
}
func (x *Clip) GetAuthorId() int32 {
if x != nil {
return x.AuthorId
}
return 0
}
func (x *Clip) GetLikesCount() int32 {
if x != nil {
return x.LikesCount
}
return 0
}
func (x *Clip) GetCommentsCount() int32 {
if x != nil {
return x.CommentsCount
}
return 0
}
func (x *Clip) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *Clip) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type ClipLike struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ClipId int32 `protobuf:"varint,2,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClipLike) Reset() {
*x = ClipLike{}
mi := &file_clip_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClipLike) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClipLike) ProtoMessage() {}
func (x *ClipLike) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[22]
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 ClipLike.ProtoReflect.Descriptor instead.
func (*ClipLike) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{22}
}
func (x *ClipLike) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *ClipLike) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *ClipLike) GetUserId() int32 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ClipLike) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
type ClipComment struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ClipId int32 `protobuf:"varint,2,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
AuthorId int32 `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClipComment) Reset() {
*x = ClipComment{}
mi := &file_clip_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClipComment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClipComment) ProtoMessage() {}
func (x *ClipComment) ProtoReflect() protoreflect.Message {
mi := &file_clip_proto_msgTypes[23]
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 ClipComment.ProtoReflect.Descriptor instead.
func (*ClipComment) Descriptor() ([]byte, []int) {
return file_clip_proto_rawDescGZIP(), []int{23}
}
func (x *ClipComment) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *ClipComment) GetClipId() int32 {
if x != nil {
return x.ClipId
}
return 0
}
func (x *ClipComment) GetAuthorId() int32 {
if x != nil {
return x.AuthorId
}
return 0
}
func (x *ClipComment) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *ClipComment) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *ClipComment) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
var File_clip_proto protoreflect.FileDescriptor
const file_clip_proto_rawDesc = "" +
"\n" +
"\n" +
"clip.proto\x12\x05proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xa1\x01\n" +
"\x11CreateClipRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x05R\x06userId\x12\x14\n" +
"\x05title\x18\x02 \x01(\tR\x05title\x12\x1d\n" +
"\n" +
"video_data\x18\x03 \x01(\fR\tvideoData\x12\x1b\n" +
"\tfile_name\x18\x04 \x01(\tR\bfileName\x12!\n" +
"\fcontent_type\x18\x05 \x01(\tR\vcontentType\"5\n" +
"\x12CreateClipResponse\x12\x1f\n" +
"\x04clip\x18\x01 \x01(\v2\v.proto.ClipR\x04clip\")\n" +
"\x0eGetClipRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\"2\n" +
"\x0fGetClipResponse\x12\x1f\n" +
"\x04clip\x18\x01 \x01(\v2\v.proto.ClipR\x04clip\"\\\n" +
"\x13GetUserClipsRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x05R\x06userId\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x16\n" +
"\x06offset\x18\x03 \x01(\x05R\x06offset\"Z\n" +
"\x14GetUserClipsResponse\x12!\n" +
"\x05clips\x18\x01 \x03(\v2\v.proto.ClipR\x05clips\x12\x1f\n" +
"\vtotal_count\x18\x02 \x01(\x05R\n" +
"totalCount\"?\n" +
"\x0fGetClipsRequest\x12\x14\n" +
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
"\x06offset\x18\x02 \x01(\x05R\x06offset\"V\n" +
"\x10GetClipsResponse\x12!\n" +
"\x05clips\x18\x01 \x03(\v2\v.proto.ClipR\x05clips\x12\x1f\n" +
"\vtotal_count\x18\x02 \x01(\x05R\n" +
"totalCount\"E\n" +
"\x11DeleteClipRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\"C\n" +
"\x0fLikeClipRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\"7\n" +
"\x10LikeClipResponse\x12#\n" +
"\x04like\x18\x01 \x01(\v2\x0f.proto.ClipLikeR\x04like\"E\n" +
"\x11UnlikeClipRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\"\\\n" +
"\x13GetClipLikesRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x16\n" +
"\x06offset\x18\x03 \x01(\x05R\x06offset\"^\n" +
"\x14GetClipLikesResponse\x12%\n" +
"\x05likes\x18\x01 \x03(\v2\x0f.proto.ClipLikeR\x05likes\x12\x1f\n" +
"\vtotal_count\x18\x02 \x01(\x05R\n" +
"totalCount\"G\n" +
"\x13CheckIfLikedRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\"1\n" +
"\x14CheckIfLikedResponse\x12\x19\n" +
"\bis_liked\x18\x01 \x01(\bR\aisLiked\"b\n" +
"\x14CreateCommentRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\x12\x18\n" +
"\acontent\x18\x03 \x01(\tR\acontent\"E\n" +
"\x15CreateCommentResponse\x12,\n" +
"\acomment\x18\x01 \x01(\v2\x12.proto.ClipCommentR\acomment\"_\n" +
"\x16GetClipCommentsRequest\x12\x17\n" +
"\aclip_id\x18\x01 \x01(\x05R\x06clipId\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x16\n" +
"\x06offset\x18\x03 \x01(\x05R\x06offset\"j\n" +
"\x17GetClipCommentsResponse\x12.\n" +
"\bcomments\x18\x01 \x03(\v2\x12.proto.ClipCommentR\bcomments\x12\x1f\n" +
"\vtotal_count\x18\x02 \x01(\x05R\n" +
"totalCount\"N\n" +
"\x14DeleteCommentRequest\x12\x1d\n" +
"\n" +
"comment_id\x18\x01 \x01(\x05R\tcommentId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x05R\x06userId\"\xc9\x02\n" +
"\x04Clip\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x14\n" +
"\x05title\x18\x02 \x01(\tR\x05title\x12\x1b\n" +
"\tvideo_url\x18\x03 \x01(\tR\bvideoUrl\x12#\n" +
"\rthumbnail_url\x18\x04 \x01(\tR\fthumbnailUrl\x12\x1b\n" +
"\tauthor_id\x18\x05 \x01(\x05R\bauthorId\x12\x1f\n" +
"\vlikes_count\x18\x06 \x01(\x05R\n" +
"likesCount\x12%\n" +
"\x0ecomments_count\x18\a \x01(\x05R\rcommentsCount\x129\n" +
"\n" +
"created_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\x87\x01\n" +
"\bClipLike\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x17\n" +
"\aclip_id\x18\x02 \x01(\x05R\x06clipId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x05R\x06userId\x129\n" +
"\n" +
"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\xe3\x01\n" +
"\vClipComment\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x17\n" +
"\aclip_id\x18\x02 \x01(\x05R\x06clipId\x12\x1b\n" +
"\tauthor_id\x18\x03 \x01(\x05R\bauthorId\x12\x18\n" +
"\acontent\x18\x04 \x01(\tR\acontent\x129\n" +
"\n" +
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt2\xc3\x06\n" +
"\vClipService\x12A\n" +
"\n" +
"CreateClip\x12\x18.proto.CreateClipRequest\x1a\x19.proto.CreateClipResponse\x128\n" +
"\aGetClip\x12\x15.proto.GetClipRequest\x1a\x16.proto.GetClipResponse\x12G\n" +
"\fGetUserClips\x12\x1a.proto.GetUserClipsRequest\x1a\x1b.proto.GetUserClipsResponse\x12;\n" +
"\bGetClips\x12\x16.proto.GetClipsRequest\x1a\x17.proto.GetClipsResponse\x12>\n" +
"\n" +
"DeleteClip\x12\x18.proto.DeleteClipRequest\x1a\x16.google.protobuf.Empty\x12;\n" +
"\bLikeClip\x12\x16.proto.LikeClipRequest\x1a\x17.proto.LikeClipResponse\x12>\n" +
"\n" +
"UnlikeClip\x12\x18.proto.UnlikeClipRequest\x1a\x16.google.protobuf.Empty\x12G\n" +
"\fGetClipLikes\x12\x1a.proto.GetClipLikesRequest\x1a\x1b.proto.GetClipLikesResponse\x12G\n" +
"\fCheckIfLiked\x12\x1a.proto.CheckIfLikedRequest\x1a\x1b.proto.CheckIfLikedResponse\x12J\n" +
"\rCreateComment\x12\x1b.proto.CreateCommentRequest\x1a\x1c.proto.CreateCommentResponse\x12P\n" +
"\x0fGetClipComments\x12\x1d.proto.GetClipCommentsRequest\x1a\x1e.proto.GetClipCommentsResponse\x12D\n" +
"\rDeleteComment\x12\x1b.proto.DeleteCommentRequest\x1a\x16.google.protobuf.EmptyB\tZ\a.;protob\x06proto3"
var (
file_clip_proto_rawDescOnce sync.Once
file_clip_proto_rawDescData []byte
)
func file_clip_proto_rawDescGZIP() []byte {
file_clip_proto_rawDescOnce.Do(func() {
file_clip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_clip_proto_rawDesc), len(file_clip_proto_rawDesc)))
})
return file_clip_proto_rawDescData
}
var file_clip_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
var file_clip_proto_goTypes = []any{
(*CreateClipRequest)(nil), // 0: proto.CreateClipRequest
(*CreateClipResponse)(nil), // 1: proto.CreateClipResponse
(*GetClipRequest)(nil), // 2: proto.GetClipRequest
(*GetClipResponse)(nil), // 3: proto.GetClipResponse
(*GetUserClipsRequest)(nil), // 4: proto.GetUserClipsRequest
(*GetUserClipsResponse)(nil), // 5: proto.GetUserClipsResponse
(*GetClipsRequest)(nil), // 6: proto.GetClipsRequest
(*GetClipsResponse)(nil), // 7: proto.GetClipsResponse
(*DeleteClipRequest)(nil), // 8: proto.DeleteClipRequest
(*LikeClipRequest)(nil), // 9: proto.LikeClipRequest
(*LikeClipResponse)(nil), // 10: proto.LikeClipResponse
(*UnlikeClipRequest)(nil), // 11: proto.UnlikeClipRequest
(*GetClipLikesRequest)(nil), // 12: proto.GetClipLikesRequest
(*GetClipLikesResponse)(nil), // 13: proto.GetClipLikesResponse
(*CheckIfLikedRequest)(nil), // 14: proto.CheckIfLikedRequest
(*CheckIfLikedResponse)(nil), // 15: proto.CheckIfLikedResponse
(*CreateCommentRequest)(nil), // 16: proto.CreateCommentRequest
(*CreateCommentResponse)(nil), // 17: proto.CreateCommentResponse
(*GetClipCommentsRequest)(nil), // 18: proto.GetClipCommentsRequest
(*GetClipCommentsResponse)(nil), // 19: proto.GetClipCommentsResponse
(*DeleteCommentRequest)(nil), // 20: proto.DeleteCommentRequest
(*Clip)(nil), // 21: proto.Clip
(*ClipLike)(nil), // 22: proto.ClipLike
(*ClipComment)(nil), // 23: proto.ClipComment
(*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp
(*emptypb.Empty)(nil), // 25: google.protobuf.Empty
}
var file_clip_proto_depIdxs = []int32{
21, // 0: proto.CreateClipResponse.clip:type_name -> proto.Clip
21, // 1: proto.GetClipResponse.clip:type_name -> proto.Clip
21, // 2: proto.GetUserClipsResponse.clips:type_name -> proto.Clip
21, // 3: proto.GetClipsResponse.clips:type_name -> proto.Clip
22, // 4: proto.LikeClipResponse.like:type_name -> proto.ClipLike
22, // 5: proto.GetClipLikesResponse.likes:type_name -> proto.ClipLike
23, // 6: proto.CreateCommentResponse.comment:type_name -> proto.ClipComment
23, // 7: proto.GetClipCommentsResponse.comments:type_name -> proto.ClipComment
24, // 8: proto.Clip.created_at:type_name -> google.protobuf.Timestamp
24, // 9: proto.Clip.updated_at:type_name -> google.protobuf.Timestamp
24, // 10: proto.ClipLike.created_at:type_name -> google.protobuf.Timestamp
24, // 11: proto.ClipComment.created_at:type_name -> google.protobuf.Timestamp
24, // 12: proto.ClipComment.updated_at:type_name -> google.protobuf.Timestamp
0, // 13: proto.ClipService.CreateClip:input_type -> proto.CreateClipRequest
2, // 14: proto.ClipService.GetClip:input_type -> proto.GetClipRequest
4, // 15: proto.ClipService.GetUserClips:input_type -> proto.GetUserClipsRequest
6, // 16: proto.ClipService.GetClips:input_type -> proto.GetClipsRequest
8, // 17: proto.ClipService.DeleteClip:input_type -> proto.DeleteClipRequest
9, // 18: proto.ClipService.LikeClip:input_type -> proto.LikeClipRequest
11, // 19: proto.ClipService.UnlikeClip:input_type -> proto.UnlikeClipRequest
12, // 20: proto.ClipService.GetClipLikes:input_type -> proto.GetClipLikesRequest
14, // 21: proto.ClipService.CheckIfLiked:input_type -> proto.CheckIfLikedRequest
16, // 22: proto.ClipService.CreateComment:input_type -> proto.CreateCommentRequest
18, // 23: proto.ClipService.GetClipComments:input_type -> proto.GetClipCommentsRequest
20, // 24: proto.ClipService.DeleteComment:input_type -> proto.DeleteCommentRequest
1, // 25: proto.ClipService.CreateClip:output_type -> proto.CreateClipResponse
3, // 26: proto.ClipService.GetClip:output_type -> proto.GetClipResponse
5, // 27: proto.ClipService.GetUserClips:output_type -> proto.GetUserClipsResponse
7, // 28: proto.ClipService.GetClips:output_type -> proto.GetClipsResponse
25, // 29: proto.ClipService.DeleteClip:output_type -> google.protobuf.Empty
10, // 30: proto.ClipService.LikeClip:output_type -> proto.LikeClipResponse
25, // 31: proto.ClipService.UnlikeClip:output_type -> google.protobuf.Empty
13, // 32: proto.ClipService.GetClipLikes:output_type -> proto.GetClipLikesResponse
15, // 33: proto.ClipService.CheckIfLiked:output_type -> proto.CheckIfLikedResponse
17, // 34: proto.ClipService.CreateComment:output_type -> proto.CreateCommentResponse
19, // 35: proto.ClipService.GetClipComments:output_type -> proto.GetClipCommentsResponse
25, // 36: proto.ClipService.DeleteComment:output_type -> google.protobuf.Empty
25, // [25:37] is the sub-list for method output_type
13, // [13:25] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_clip_proto_init() }
func file_clip_proto_init() {
if File_clip_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_clip_proto_rawDesc), len(file_clip_proto_rawDesc)),
NumEnums: 0,
NumMessages: 24,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_clip_proto_goTypes,
DependencyIndexes: file_clip_proto_depIdxs,
MessageInfos: file_clip_proto_msgTypes,
}.Build()
File_clip_proto = out.File
file_clip_proto_goTypes = nil
file_clip_proto_depIdxs = nil
}