v1

package
v0.0.0-...-066287a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollectionService_CreateCollection_FullMethodName          = "/coreService.v1.CollectionService/CreateCollection"
	CollectionService_GetCollectionById_FullMethodName         = "/coreService.v1.CollectionService/GetCollectionById"
	CollectionService_RemoveCollection_FullMethodName          = "/coreService.v1.CollectionService/RemoveCollection"
	CollectionService_ListCollection_FullMethodName            = "/coreService.v1.CollectionService/ListCollection"
	CollectionService_UpdateCollection_FullMethodName          = "/coreService.v1.CollectionService/UpdateCollection"
	CollectionService_AddVideo2Collection_FullMethodName       = "/coreService.v1.CollectionService/AddVideo2Collection"
	CollectionService_RemoveVideoFromCollection_FullMethodName = "/coreService.v1.CollectionService/RemoveVideoFromCollection"
	CollectionService_ListCollectionVideo_FullMethodName       = "/coreService.v1.CollectionService/ListCollectionVideo"
	CollectionService_IsCollected_FullMethodName               = "/coreService.v1.CollectionService/IsCollected"
	CollectionService_CountCollect4Video_FullMethodName        = "/coreService.v1.CollectionService/CountCollect4Video"
)
View Source
const (
	CommentService_CreateComment_FullMethodName            = "/coreService.v1.CommentService/CreateComment"
	CommentService_RemoveComment_FullMethodName            = "/coreService.v1.CommentService/RemoveComment"
	CommentService_ListComment4Video_FullMethodName        = "/coreService.v1.CommentService/ListComment4Video"
	CommentService_ListChildComment4Comment_FullMethodName = "/coreService.v1.CommentService/ListChildComment4Comment"
	CommentService_GetCommentById_FullMethodName           = "/coreService.v1.CommentService/GetCommentById"
	CommentService_CountComment4Video_FullMethodName       = "/coreService.v1.CommentService/CountComment4Video"
	CommentService_CountComment4User_FullMethodName        = "/coreService.v1.CommentService/CountComment4User"
)
View Source
const (
	FollowService_AddFollow_FullMethodName     = "/coreService.v1.FollowService/AddFollow"
	FollowService_RemoveFollow_FullMethodName  = "/coreService.v1.FollowService/RemoveFollow"
	FollowService_ListFollowing_FullMethodName = "/coreService.v1.FollowService/ListFollowing"
	FollowService_IsFollowing_FullMethodName   = "/coreService.v1.FollowService/IsFollowing"
	FollowService_CountFollow_FullMethodName   = "/coreService.v1.FollowService/CountFollow"
)
View Source
const (
	InterService_IncrReadCount_FullMethodName = "/coreService.v1.InterService/IncrReadCount"
	InterService_Like_FullMethodName          = "/coreService.v1.InterService/Like"
	InterService_CancelLike_FullMethodName    = "/coreService.v1.InterService/CancelLike"
	InterService_Collect_FullMethodName       = "/coreService.v1.InterService/Collect"
	InterService_CancelCollect_FullMethodName = "/coreService.v1.InterService/CancelCollect"
	InterService_Stat_FullMethodName          = "/coreService.v1.InterService/Stat"
)
View Source
const (
	UserService_CreateUser_FullMethodName      = "/coreService.v1.UserService/CreateUser"
	UserService_GetUserInfo_FullMethodName     = "/coreService.v1.UserService/GetUserInfo"
	UserService_UpdateUserInfo_FullMethodName  = "/coreService.v1.UserService/UpdateUserInfo"
	UserService_GetUserByIdList_FullMethodName = "/coreService.v1.UserService/GetUserByIdList"
)
View Source
const (
	VideoService_FeedShortVideo_FullMethodName     = "/coreService.v1.VideoService/FeedShortVideo"
	VideoService_GetVideoById_FullMethodName       = "/coreService.v1.VideoService/GetVideoById"
	VideoService_PublishVideo_FullMethodName       = "/coreService.v1.VideoService/PublishVideo"
	VideoService_ListPublishedVideo_FullMethodName = "/coreService.v1.VideoService/ListPublishedVideo"
	VideoService_GetVideoByIdList_FullMethodName   = "/coreService.v1.VideoService/GetVideoByIdList"
)
View Source
const OperationUserServiceCreateUser = "/coreService.v1.UserService/CreateUser"
View Source
const OperationUserServiceGetUserInfo = "/coreService.v1.UserService/GetUserInfo"
View Source
const OperationUserServiceUpdateUserInfo = "/coreService.v1.UserService/UpdateUserInfo"
View Source
const OperationVideoServiceFeedShortVideo = "/coreService.v1.VideoService/FeedShortVideo"
View Source
const OperationVideoServiceGetVideoById = "/coreService.v1.VideoService/GetVideoById"
View Source
const OperationVideoServiceListPublishedVideo = "/coreService.v1.VideoService/ListPublishedVideo"
View Source
const OperationVideoServicePublishVideo = "/coreService.v1.VideoService/PublishVideo"

Variables

View Source
var (
	SortOrder_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	SortOrder_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for SortOrder.

View Source
var (
	SearchOperator_name = map[int32]string{
		0:  "EQ",
		1:  "NE",
		2:  "GT",
		3:  "GE",
		4:  "LT",
		5:  "LE",
		6:  "LIKE",
		7:  "WILDCARD",
		8:  "IN",
		9:  "NOT_IN",
		10: "BETWEEN",
		11: "RE",
	}
	SearchOperator_value = map[string]int32{
		"EQ":       0,
		"NE":       1,
		"GT":       2,
		"GE":       3,
		"LT":       4,
		"LE":       5,
		"LIKE":     6,
		"WILDCARD": 7,
		"IN":       8,
		"NOT_IN":   9,
		"BETWEEN":  10,
		"RE":       11,
	}
)

Enum value maps for SearchOperator.

View Source
var (
	FollowType_name = map[int32]string{
		0: "FOLLOWING",
		1: "FOLLOWER",
		2: "BOTH",
	}
	FollowType_value = map[string]int32{
		"FOLLOWING": 0,
		"FOLLOWER":  1,
		"BOTH":      2,
	}
)

Enum value maps for FollowType.

View Source
var (
	UpdateUserImageType_name = map[int32]string{
		0: "AVATAR",
		1: "BACKGROUND_IMAGE",
	}
	UpdateUserImageType_value = map[string]int32{
		"AVATAR":           0,
		"BACKGROUND_IMAGE": 1,
	}
)

Enum value maps for UpdateUserImageType.

View Source
var CollectionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.CollectionService",
	HandlerType: (*CollectionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCollection",
			Handler:    _CollectionService_CreateCollection_Handler,
		},
		{
			MethodName: "GetCollectionById",
			Handler:    _CollectionService_GetCollectionById_Handler,
		},
		{
			MethodName: "RemoveCollection",
			Handler:    _CollectionService_RemoveCollection_Handler,
		},
		{
			MethodName: "ListCollection",
			Handler:    _CollectionService_ListCollection_Handler,
		},
		{
			MethodName: "UpdateCollection",
			Handler:    _CollectionService_UpdateCollection_Handler,
		},
		{
			MethodName: "AddVideo2Collection",
			Handler:    _CollectionService_AddVideo2Collection_Handler,
		},
		{
			MethodName: "RemoveVideoFromCollection",
			Handler:    _CollectionService_RemoveVideoFromCollection_Handler,
		},
		{
			MethodName: "ListCollectionVideo",
			Handler:    _CollectionService_ListCollectionVideo_Handler,
		},
		{
			MethodName: "IsCollected",
			Handler:    _CollectionService_IsCollected_Handler,
		},
		{
			MethodName: "CountCollect4Video",
			Handler:    _CollectionService_CountCollect4Video_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/collection.proto",
}

CollectionService_ServiceDesc is the grpc.ServiceDesc for CollectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CommentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.CommentService",
	HandlerType: (*CommentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateComment",
			Handler:    _CommentService_CreateComment_Handler,
		},
		{
			MethodName: "RemoveComment",
			Handler:    _CommentService_RemoveComment_Handler,
		},
		{
			MethodName: "ListComment4Video",
			Handler:    _CommentService_ListComment4Video_Handler,
		},
		{
			MethodName: "ListChildComment4Comment",
			Handler:    _CommentService_ListChildComment4Comment_Handler,
		},
		{
			MethodName: "GetCommentById",
			Handler:    _CommentService_GetCommentById_Handler,
		},
		{
			MethodName: "CountComment4Video",
			Handler:    _CommentService_CountComment4Video_Handler,
		},
		{
			MethodName: "CountComment4User",
			Handler:    _CommentService_CountComment4User_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/comment.proto",
}

CommentService_ServiceDesc is the grpc.ServiceDesc for CommentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_coreService_v1_collection_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_comment_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_common_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_follow_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_inter_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_user_proto protoreflect.FileDescriptor
View Source
var File_coreService_v1_video_proto protoreflect.FileDescriptor
View Source
var FollowService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.FollowService",
	HandlerType: (*FollowServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddFollow",
			Handler:    _FollowService_AddFollow_Handler,
		},
		{
			MethodName: "RemoveFollow",
			Handler:    _FollowService_RemoveFollow_Handler,
		},
		{
			MethodName: "ListFollowing",
			Handler:    _FollowService_ListFollowing_Handler,
		},
		{
			MethodName: "IsFollowing",
			Handler:    _FollowService_IsFollowing_Handler,
		},
		{
			MethodName: "CountFollow",
			Handler:    _FollowService_CountFollow_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/follow.proto",
}

FollowService_ServiceDesc is the grpc.ServiceDesc for FollowService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var InterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.InterService",
	HandlerType: (*InterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IncrReadCount",
			Handler:    _InterService_IncrReadCount_Handler,
		},
		{
			MethodName: "Like",
			Handler:    _InterService_Like_Handler,
		},
		{
			MethodName: "CancelLike",
			Handler:    _InterService_CancelLike_Handler,
		},
		{
			MethodName: "Collect",
			Handler:    _InterService_Collect_Handler,
		},
		{
			MethodName: "CancelCollect",
			Handler:    _InterService_CancelCollect_Handler,
		},
		{
			MethodName: "Stat",
			Handler:    _InterService_Stat_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/inter.proto",
}

InterService_ServiceDesc is the grpc.ServiceDesc for InterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "GetUserInfo",
			Handler:    _UserService_GetUserInfo_Handler,
		},
		{
			MethodName: "UpdateUserInfo",
			Handler:    _UserService_UpdateUserInfo_Handler,
		},
		{
			MethodName: "GetUserByIdList",
			Handler:    _UserService_GetUserByIdList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var VideoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "coreService.v1.VideoService",
	HandlerType: (*VideoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FeedShortVideo",
			Handler:    _VideoService_FeedShortVideo_Handler,
		},
		{
			MethodName: "GetVideoById",
			Handler:    _VideoService_GetVideoById_Handler,
		},
		{
			MethodName: "PublishVideo",
			Handler:    _VideoService_PublishVideo_Handler,
		},
		{
			MethodName: "ListPublishedVideo",
			Handler:    _VideoService_ListPublishedVideo_Handler,
		},
		{
			MethodName: "GetVideoByIdList",
			Handler:    _VideoService_GetVideoByIdList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "coreService/v1/video.proto",
}

VideoService_ServiceDesc is the grpc.ServiceDesc for VideoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCollectionServiceServer

func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)

func RegisterCommentServiceServer

func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)

func RegisterFollowServiceServer

func RegisterFollowServiceServer(s grpc.ServiceRegistrar, srv FollowServiceServer)

func RegisterInterServiceServer

func RegisterInterServiceServer(s grpc.ServiceRegistrar, srv InterServiceServer)

func RegisterUserServiceHTTPServer

func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

func RegisterVideoServiceHTTPServer

func RegisterVideoServiceHTTPServer(s *http.Server, srv VideoServiceHTTPServer)

func RegisterVideoServiceServer

func RegisterVideoServiceServer(s grpc.ServiceRegistrar, srv VideoServiceServer)

Types

type AddFollowRequest

type AddFollowRequest struct {
	UserId       int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFollowRequest) Descriptor deprecated

func (*AddFollowRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddFollowRequest.ProtoReflect.Descriptor instead.

func (*AddFollowRequest) GetTargetUserId

func (x *AddFollowRequest) GetTargetUserId() int64

func (*AddFollowRequest) GetUserId

func (x *AddFollowRequest) GetUserId() int64

func (*AddFollowRequest) ProtoMessage

func (*AddFollowRequest) ProtoMessage()

func (*AddFollowRequest) ProtoReflect

func (x *AddFollowRequest) ProtoReflect() protoreflect.Message

func (*AddFollowRequest) Reset

func (x *AddFollowRequest) Reset()

func (*AddFollowRequest) String

func (x *AddFollowRequest) String() string

type AddFollowResponse

type AddFollowResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFollowResponse) Descriptor deprecated

func (*AddFollowResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddFollowResponse.ProtoReflect.Descriptor instead.

func (*AddFollowResponse) GetMeta

func (x *AddFollowResponse) GetMeta() *Metadata

func (*AddFollowResponse) ProtoMessage

func (*AddFollowResponse) ProtoMessage()

func (*AddFollowResponse) ProtoReflect

func (x *AddFollowResponse) ProtoReflect() protoreflect.Message

func (*AddFollowResponse) Reset

func (x *AddFollowResponse) Reset()

func (*AddFollowResponse) String

func (x *AddFollowResponse) String() string

type AddVideo2CollectionRequest

type AddVideo2CollectionRequest struct {
	CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // 不传则添加到默认收藏夹
	VideoId      int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`
	UserId       int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVideo2CollectionRequest) Descriptor deprecated

func (*AddVideo2CollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddVideo2CollectionRequest.ProtoReflect.Descriptor instead.

func (*AddVideo2CollectionRequest) GetCollectionId

func (x *AddVideo2CollectionRequest) GetCollectionId() int64

func (*AddVideo2CollectionRequest) GetUserId

func (x *AddVideo2CollectionRequest) GetUserId() int64

func (*AddVideo2CollectionRequest) GetVideoId

func (x *AddVideo2CollectionRequest) GetVideoId() int64

func (*AddVideo2CollectionRequest) ProtoMessage

func (*AddVideo2CollectionRequest) ProtoMessage()

func (*AddVideo2CollectionRequest) ProtoReflect

func (*AddVideo2CollectionRequest) Reset

func (x *AddVideo2CollectionRequest) Reset()

func (*AddVideo2CollectionRequest) String

func (x *AddVideo2CollectionRequest) String() string

type AddVideo2CollectionResponse

type AddVideo2CollectionResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVideo2CollectionResponse) Descriptor deprecated

func (*AddVideo2CollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddVideo2CollectionResponse.ProtoReflect.Descriptor instead.

func (*AddVideo2CollectionResponse) GetMeta

func (x *AddVideo2CollectionResponse) GetMeta() *Metadata

func (*AddVideo2CollectionResponse) ProtoMessage

func (*AddVideo2CollectionResponse) ProtoMessage()

func (*AddVideo2CollectionResponse) ProtoReflect

func (*AddVideo2CollectionResponse) Reset

func (x *AddVideo2CollectionResponse) Reset()

func (*AddVideo2CollectionResponse) String

func (x *AddVideo2CollectionResponse) String() string

type Author

type Author struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                      // 作者唯一标识
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                   // 作者昵称
	Avatar      string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`                               // 作者头像地址
	IsFollowing int64  `protobuf:"varint,4,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` // 0-未关注,1-已关注
	// contains filtered or unexported fields
}

func (*Author) Descriptor deprecated

func (*Author) Descriptor() ([]byte, []int)

Deprecated: Use Author.ProtoReflect.Descriptor instead.

func (*Author) GetAvatar

func (x *Author) GetAvatar() string

func (*Author) GetId

func (x *Author) GetId() int64

func (*Author) GetIsFollowing

func (x *Author) GetIsFollowing() int64

func (*Author) GetName

func (x *Author) GetName() string

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) ProtoReflect

func (x *Author) ProtoReflect() protoreflect.Message

func (*Author) Reset

func (x *Author) Reset()

func (*Author) String

func (x *Author) String() string

type CancelCollectRequest

type CancelCollectRequest struct {
	Biz          string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId        int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	UserId       int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CollectionId int64  `protobuf:"varint,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelCollectRequest) Descriptor deprecated

func (*CancelCollectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelCollectRequest.ProtoReflect.Descriptor instead.

func (*CancelCollectRequest) GetBiz

func (x *CancelCollectRequest) GetBiz() string

func (*CancelCollectRequest) GetBizId

func (x *CancelCollectRequest) GetBizId() int64

func (*CancelCollectRequest) GetCollectionId

func (x *CancelCollectRequest) GetCollectionId() int64

func (*CancelCollectRequest) GetUserId

func (x *CancelCollectRequest) GetUserId() int64

func (*CancelCollectRequest) ProtoMessage

func (*CancelCollectRequest) ProtoMessage()

func (*CancelCollectRequest) ProtoReflect

func (x *CancelCollectRequest) ProtoReflect() protoreflect.Message

func (*CancelCollectRequest) Reset

func (x *CancelCollectRequest) Reset()

func (*CancelCollectRequest) String

func (x *CancelCollectRequest) String() string

type CancelCollectResponse

type CancelCollectResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelCollectResponse) Descriptor deprecated

func (*CancelCollectResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelCollectResponse.ProtoReflect.Descriptor instead.

func (*CancelCollectResponse) GetMeta

func (x *CancelCollectResponse) GetMeta() *Metadata

func (*CancelCollectResponse) ProtoMessage

func (*CancelCollectResponse) ProtoMessage()

func (*CancelCollectResponse) ProtoReflect

func (x *CancelCollectResponse) ProtoReflect() protoreflect.Message

func (*CancelCollectResponse) Reset

func (x *CancelCollectResponse) Reset()

func (*CancelCollectResponse) String

func (x *CancelCollectResponse) String() string

type CancelLikeRequest

type CancelLikeRequest struct {
	Biz    string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId  int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelLikeRequest) Descriptor deprecated

func (*CancelLikeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelLikeRequest.ProtoReflect.Descriptor instead.

func (*CancelLikeRequest) GetBiz

func (x *CancelLikeRequest) GetBiz() string

func (*CancelLikeRequest) GetBizId

func (x *CancelLikeRequest) GetBizId() int64

func (*CancelLikeRequest) GetUserId

func (x *CancelLikeRequest) GetUserId() int64

func (*CancelLikeRequest) ProtoMessage

func (*CancelLikeRequest) ProtoMessage()

func (*CancelLikeRequest) ProtoReflect

func (x *CancelLikeRequest) ProtoReflect() protoreflect.Message

func (*CancelLikeRequest) Reset

func (x *CancelLikeRequest) Reset()

func (*CancelLikeRequest) String

func (x *CancelLikeRequest) String() string

type CancelLikeResponse

type CancelLikeResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelLikeResponse) Descriptor deprecated

func (*CancelLikeResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelLikeResponse.ProtoReflect.Descriptor instead.

func (*CancelLikeResponse) GetMeta

func (x *CancelLikeResponse) GetMeta() *Metadata

func (*CancelLikeResponse) ProtoMessage

func (*CancelLikeResponse) ProtoMessage()

func (*CancelLikeResponse) ProtoReflect

func (x *CancelLikeResponse) ProtoReflect() protoreflect.Message

func (*CancelLikeResponse) Reset

func (x *CancelLikeResponse) Reset()

func (*CancelLikeResponse) String

func (x *CancelLikeResponse) String() string

type CollectRequest

type CollectRequest struct {
	Biz          string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId        int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	UserId       int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CollectionId int64  `protobuf:"varint,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectRequest) Descriptor deprecated

func (*CollectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.

func (*CollectRequest) GetBiz

func (x *CollectRequest) GetBiz() string

func (*CollectRequest) GetBizId

func (x *CollectRequest) GetBizId() int64

func (*CollectRequest) GetCollectionId

func (x *CollectRequest) GetCollectionId() int64

func (*CollectRequest) GetUserId

func (x *CollectRequest) GetUserId() int64

func (*CollectRequest) ProtoMessage

func (*CollectRequest) ProtoMessage()

func (*CollectRequest) ProtoReflect

func (x *CollectRequest) ProtoReflect() protoreflect.Message

func (*CollectRequest) Reset

func (x *CollectRequest) Reset()

func (*CollectRequest) String

func (x *CollectRequest) String() string

type CollectResponse

type CollectResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectResponse) Descriptor deprecated

func (*CollectResponse) Descriptor() ([]byte, []int)

Deprecated: Use CollectResponse.ProtoReflect.Descriptor instead.

func (*CollectResponse) GetMeta

func (x *CollectResponse) GetMeta() *Metadata

func (*CollectResponse) ProtoMessage

func (*CollectResponse) ProtoMessage()

func (*CollectResponse) ProtoReflect

func (x *CollectResponse) ProtoReflect() protoreflect.Message

func (*CollectResponse) Reset

func (x *CollectResponse) Reset()

func (*CollectResponse) String

func (x *CollectResponse) String() string

type Collection

type Collection struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId      int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Collection) Descriptor deprecated

func (*Collection) Descriptor() ([]byte, []int)

Deprecated: Use Collection.ProtoReflect.Descriptor instead.

func (*Collection) GetDescription

func (x *Collection) GetDescription() string

func (*Collection) GetId

func (x *Collection) GetId() int64

func (*Collection) GetName

func (x *Collection) GetName() string

func (*Collection) GetUserId

func (x *Collection) GetUserId() int64

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) ProtoReflect

func (x *Collection) ProtoReflect() protoreflect.Message

func (*Collection) Reset

func (x *Collection) Reset()

func (*Collection) String

func (x *Collection) String() string

type CollectionServiceClient

CollectionServiceClient is the client API for CollectionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CollectionServiceServer

CollectionServiceServer is the server API for CollectionService service. All implementations must embed UnimplementedCollectionServiceServer for forward compatibility.

type Comment

type Comment struct {
	Id          int64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                        // 评论id
	VideoId     int64      `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`               // 视频id
	Content     string     `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`                               // 评论内容
	Date        string     `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`                                     // 评论日期
	LikeCount   string     `protobuf:"bytes,5,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"`          // 点赞数
	ReplyCount  string     `protobuf:"bytes,6,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"`       // 回复数
	UserId      int64      `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`                  // 用户id
	ParentId    int64      `protobuf:"varint,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`            // 父评论id
	ReplyUserId int64      `protobuf:"varint,9,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 回复用户id
	Comments    []*Comment `protobuf:"bytes,10,rep,name=comments,proto3" json:"comments,omitempty"`                            // 子评论
	// contains filtered or unexported fields
}

func (*Comment) Descriptor deprecated

func (*Comment) Descriptor() ([]byte, []int)

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetComments

func (x *Comment) GetComments() []*Comment

func (*Comment) GetContent

func (x *Comment) GetContent() string

func (*Comment) GetDate

func (x *Comment) GetDate() string

func (*Comment) GetId

func (x *Comment) GetId() int64

func (*Comment) GetLikeCount

func (x *Comment) GetLikeCount() string

func (*Comment) GetParentId

func (x *Comment) GetParentId() int64

func (*Comment) GetReplyCount

func (x *Comment) GetReplyCount() string

func (*Comment) GetReplyUserId

func (x *Comment) GetReplyUserId() int64

func (*Comment) GetUserId

func (x *Comment) GetUserId() int64

func (*Comment) GetVideoId

func (x *Comment) GetVideoId() int64

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

func (x *Comment) ProtoReflect() protoreflect.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

type CommentServiceClient

CommentServiceClient is the client API for CommentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CommentServiceServer

CommentServiceServer is the server API for CommentService service. All implementations must embed UnimplementedCommentServiceServer for forward compatibility.

type CountCollect4VideoRequest

type CountCollect4VideoRequest struct {
	VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*CountCollect4VideoRequest) Descriptor deprecated

func (*CountCollect4VideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CountCollect4VideoRequest.ProtoReflect.Descriptor instead.

func (*CountCollect4VideoRequest) GetVideoIdList

func (x *CountCollect4VideoRequest) GetVideoIdList() []int64

func (*CountCollect4VideoRequest) ProtoMessage

func (*CountCollect4VideoRequest) ProtoMessage()

func (*CountCollect4VideoRequest) ProtoReflect

func (*CountCollect4VideoRequest) Reset

func (x *CountCollect4VideoRequest) Reset()

func (*CountCollect4VideoRequest) String

func (x *CountCollect4VideoRequest) String() string

type CountCollect4VideoResponse

type CountCollect4VideoResponse struct {
	CountResult []*CountCollect4VideoResult `protobuf:"bytes,1,rep,name=count_result,json=countResult,proto3" json:"count_result,omitempty"`
	Meta        *Metadata                   `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CountCollect4VideoResponse) Descriptor deprecated

func (*CountCollect4VideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountCollect4VideoResponse.ProtoReflect.Descriptor instead.

func (*CountCollect4VideoResponse) GetCountResult

func (*CountCollect4VideoResponse) GetMeta

func (x *CountCollect4VideoResponse) GetMeta() *Metadata

func (*CountCollect4VideoResponse) ProtoMessage

func (*CountCollect4VideoResponse) ProtoMessage()

func (*CountCollect4VideoResponse) ProtoReflect

func (*CountCollect4VideoResponse) Reset

func (x *CountCollect4VideoResponse) Reset()

func (*CountCollect4VideoResponse) String

func (x *CountCollect4VideoResponse) String() string

type CountCollect4VideoResult

type CountCollect4VideoResult struct {
	Id    int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountCollect4VideoResult) Descriptor deprecated

func (*CountCollect4VideoResult) Descriptor() ([]byte, []int)

Deprecated: Use CountCollect4VideoResult.ProtoReflect.Descriptor instead.

func (*CountCollect4VideoResult) GetCount

func (x *CountCollect4VideoResult) GetCount() int64

func (*CountCollect4VideoResult) GetId

func (x *CountCollect4VideoResult) GetId() int64

func (*CountCollect4VideoResult) ProtoMessage

func (*CountCollect4VideoResult) ProtoMessage()

func (*CountCollect4VideoResult) ProtoReflect

func (x *CountCollect4VideoResult) ProtoReflect() protoreflect.Message

func (*CountCollect4VideoResult) Reset

func (x *CountCollect4VideoResult) Reset()

func (*CountCollect4VideoResult) String

func (x *CountCollect4VideoResult) String() string

type CountComment4UserRequest

type CountComment4UserRequest struct {
	UserId []int64 `protobuf:"varint,1,rep,packed,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*CountComment4UserRequest) Descriptor deprecated

func (*CountComment4UserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CountComment4UserRequest.ProtoReflect.Descriptor instead.

func (*CountComment4UserRequest) GetUserId

func (x *CountComment4UserRequest) GetUserId() []int64

func (*CountComment4UserRequest) ProtoMessage

func (*CountComment4UserRequest) ProtoMessage()

func (*CountComment4UserRequest) ProtoReflect

func (x *CountComment4UserRequest) ProtoReflect() protoreflect.Message

func (*CountComment4UserRequest) Reset

func (x *CountComment4UserRequest) Reset()

func (*CountComment4UserRequest) String

func (x *CountComment4UserRequest) String() string

type CountComment4UserResponse

type CountComment4UserResponse struct {
	Meta    *Metadata      `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Results []*CountResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*CountComment4UserResponse) Descriptor deprecated

func (*CountComment4UserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountComment4UserResponse.ProtoReflect.Descriptor instead.

func (*CountComment4UserResponse) GetMeta

func (x *CountComment4UserResponse) GetMeta() *Metadata

func (*CountComment4UserResponse) GetResults

func (x *CountComment4UserResponse) GetResults() []*CountResult

func (*CountComment4UserResponse) ProtoMessage

func (*CountComment4UserResponse) ProtoMessage()

func (*CountComment4UserResponse) ProtoReflect

func (*CountComment4UserResponse) Reset

func (x *CountComment4UserResponse) Reset()

func (*CountComment4UserResponse) String

func (x *CountComment4UserResponse) String() string

type CountComment4VideoRequest

type CountComment4VideoRequest struct {
	VideoId []int64 `protobuf:"varint,1,rep,packed,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id
	// contains filtered or unexported fields
}

func (*CountComment4VideoRequest) Descriptor deprecated

func (*CountComment4VideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CountComment4VideoRequest.ProtoReflect.Descriptor instead.

func (*CountComment4VideoRequest) GetVideoId

func (x *CountComment4VideoRequest) GetVideoId() []int64

func (*CountComment4VideoRequest) ProtoMessage

func (*CountComment4VideoRequest) ProtoMessage()

func (*CountComment4VideoRequest) ProtoReflect

func (*CountComment4VideoRequest) Reset

func (x *CountComment4VideoRequest) Reset()

func (*CountComment4VideoRequest) String

func (x *CountComment4VideoRequest) String() string

type CountComment4VideoResponse

type CountComment4VideoResponse struct {
	Meta    *Metadata      `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Results []*CountResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*CountComment4VideoResponse) Descriptor deprecated

func (*CountComment4VideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountComment4VideoResponse.ProtoReflect.Descriptor instead.

func (*CountComment4VideoResponse) GetMeta

func (x *CountComment4VideoResponse) GetMeta() *Metadata

func (*CountComment4VideoResponse) GetResults

func (x *CountComment4VideoResponse) GetResults() []*CountResult

func (*CountComment4VideoResponse) ProtoMessage

func (*CountComment4VideoResponse) ProtoMessage()

func (*CountComment4VideoResponse) ProtoReflect

func (*CountComment4VideoResponse) Reset

func (x *CountComment4VideoResponse) Reset()

func (*CountComment4VideoResponse) String

func (x *CountComment4VideoResponse) String() string

type CountFollowRequest

type CountFollowRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CountFollowRequest) Descriptor deprecated

func (*CountFollowRequest) Descriptor() ([]byte, []int)

Deprecated: Use CountFollowRequest.ProtoReflect.Descriptor instead.

func (*CountFollowRequest) GetUserId

func (x *CountFollowRequest) GetUserId() int64

func (*CountFollowRequest) ProtoMessage

func (*CountFollowRequest) ProtoMessage()

func (*CountFollowRequest) ProtoReflect

func (x *CountFollowRequest) ProtoReflect() protoreflect.Message

func (*CountFollowRequest) Reset

func (x *CountFollowRequest) Reset()

func (*CountFollowRequest) String

func (x *CountFollowRequest) String() string

type CountFollowResponse

type CountFollowResponse struct {
	Meta           *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FollowingCount int64     `protobuf:"varint,2,opt,name=following_count,json=followingCount,proto3" json:"following_count,omitempty"`
	FollowerCount  int64     `protobuf:"varint,3,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountFollowResponse) Descriptor deprecated

func (*CountFollowResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountFollowResponse.ProtoReflect.Descriptor instead.

func (*CountFollowResponse) GetFollowerCount

func (x *CountFollowResponse) GetFollowerCount() int64

func (*CountFollowResponse) GetFollowingCount

func (x *CountFollowResponse) GetFollowingCount() int64

func (*CountFollowResponse) GetMeta

func (x *CountFollowResponse) GetMeta() *Metadata

func (*CountFollowResponse) ProtoMessage

func (*CountFollowResponse) ProtoMessage()

func (*CountFollowResponse) ProtoReflect

func (x *CountFollowResponse) ProtoReflect() protoreflect.Message

func (*CountFollowResponse) Reset

func (x *CountFollowResponse) Reset()

func (*CountFollowResponse) String

func (x *CountFollowResponse) String() string

type CountResult

type CountResult struct {
	Id    int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountResult) Descriptor deprecated

func (*CountResult) Descriptor() ([]byte, []int)

Deprecated: Use CountResult.ProtoReflect.Descriptor instead.

func (*CountResult) GetCount

func (x *CountResult) GetCount() int64

func (*CountResult) GetId

func (x *CountResult) GetId() int64

func (*CountResult) ProtoMessage

func (*CountResult) ProtoMessage()

func (*CountResult) ProtoReflect

func (x *CountResult) ProtoReflect() protoreflect.Message

func (*CountResult) Reset

func (x *CountResult) Reset()

func (*CountResult) String

func (x *CountResult) String() string

type CreateCollectionRequest

type CreateCollectionRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	UserId      int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCollectionRequest) Descriptor deprecated

func (*CreateCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.

func (*CreateCollectionRequest) GetDescription

func (x *CreateCollectionRequest) GetDescription() string

func (*CreateCollectionRequest) GetName

func (x *CreateCollectionRequest) GetName() string

func (*CreateCollectionRequest) GetUserId

func (x *CreateCollectionRequest) GetUserId() int64

func (*CreateCollectionRequest) ProtoMessage

func (*CreateCollectionRequest) ProtoMessage()

func (*CreateCollectionRequest) ProtoReflect

func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message

func (*CreateCollectionRequest) Reset

func (x *CreateCollectionRequest) Reset()

func (*CreateCollectionRequest) String

func (x *CreateCollectionRequest) String() string

type CreateCollectionResponse

type CreateCollectionResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCollectionResponse) Descriptor deprecated

func (*CreateCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.

func (*CreateCollectionResponse) GetMeta

func (x *CreateCollectionResponse) GetMeta() *Metadata

func (*CreateCollectionResponse) ProtoMessage

func (*CreateCollectionResponse) ProtoMessage()

func (*CreateCollectionResponse) ProtoReflect

func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message

func (*CreateCollectionResponse) Reset

func (x *CreateCollectionResponse) Reset()

func (*CreateCollectionResponse) String

func (x *CreateCollectionResponse) String() string

type CreateCommentRequest

type CreateCommentRequest struct {
	VideoId     int64  `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`               // 视频id
	UserId      int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`                  // 用户id
	Content     string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`                               // 评论内容
	ParentId    int64  `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`            // 父评论id
	ReplyUserId int64  `protobuf:"varint,5,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 回复用户id
	// contains filtered or unexported fields
}

func (*CreateCommentRequest) Descriptor deprecated

func (*CreateCommentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateCommentRequest) GetContent

func (x *CreateCommentRequest) GetContent() string

func (*CreateCommentRequest) GetParentId

func (x *CreateCommentRequest) GetParentId() int64

func (*CreateCommentRequest) GetReplyUserId

func (x *CreateCommentRequest) GetReplyUserId() int64

func (*CreateCommentRequest) GetUserId

func (x *CreateCommentRequest) GetUserId() int64

func (*CreateCommentRequest) GetVideoId

func (x *CreateCommentRequest) GetVideoId() int64

func (*CreateCommentRequest) ProtoMessage

func (*CreateCommentRequest) ProtoMessage()

func (*CreateCommentRequest) ProtoReflect

func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message

func (*CreateCommentRequest) Reset

func (x *CreateCommentRequest) Reset()

func (*CreateCommentRequest) String

func (x *CreateCommentRequest) String() string

type CreateCommentResponse

type CreateCommentResponse struct {
	Meta    *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Comment *Comment  `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCommentResponse) Descriptor deprecated

func (*CreateCommentResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateCommentResponse.ProtoReflect.Descriptor instead.

func (*CreateCommentResponse) GetComment

func (x *CreateCommentResponse) GetComment() *Comment

func (*CreateCommentResponse) GetMeta

func (x *CreateCommentResponse) GetMeta() *Metadata

func (*CreateCommentResponse) ProtoMessage

func (*CreateCommentResponse) ProtoMessage()

func (*CreateCommentResponse) ProtoReflect

func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message

func (*CreateCommentResponse) Reset

func (x *CreateCommentResponse) Reset()

func (*CreateCommentResponse) String

func (x *CreateCommentResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	Mobile    string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email     string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	AccountId int64  `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetAccountId

func (x *CreateUserRequest) GetAccountId() int64

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetMobile

func (x *CreateUserRequest) GetMobile() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	Meta   *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	UserId int64     `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetMeta

func (x *CreateUserResponse) GetMeta() *Metadata

func (*CreateUserResponse) GetUserId

func (x *CreateUserResponse) GetUserId() int64

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

func (x *CreateUserResponse) ProtoReflect() protoreflect.Message

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type FeedShortVideoRequest

type FeedShortVideoRequest struct {
	LatestTime int64 `protobuf:"varint,1,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间
	UserId     int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	FeedNum    int64 `protobuf:"varint,3,opt,name=feed_num,json=feedNum,proto3" json:"feed_num,omitempty"` // 返回视频的数量
	// contains filtered or unexported fields
}

func (*FeedShortVideoRequest) Descriptor deprecated

func (*FeedShortVideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use FeedShortVideoRequest.ProtoReflect.Descriptor instead.

func (*FeedShortVideoRequest) GetFeedNum

func (x *FeedShortVideoRequest) GetFeedNum() int64

func (*FeedShortVideoRequest) GetLatestTime

func (x *FeedShortVideoRequest) GetLatestTime() int64

func (*FeedShortVideoRequest) GetUserId

func (x *FeedShortVideoRequest) GetUserId() int64

func (*FeedShortVideoRequest) ProtoMessage

func (*FeedShortVideoRequest) ProtoMessage()

func (*FeedShortVideoRequest) ProtoReflect

func (x *FeedShortVideoRequest) ProtoReflect() protoreflect.Message

func (*FeedShortVideoRequest) Reset

func (x *FeedShortVideoRequest) Reset()

func (*FeedShortVideoRequest) String

func (x *FeedShortVideoRequest) String() string

type FeedShortVideoResponse

type FeedShortVideoResponse struct {
	Meta   *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Videos []*Video  `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedShortVideoResponse) Descriptor deprecated

func (*FeedShortVideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use FeedShortVideoResponse.ProtoReflect.Descriptor instead.

func (*FeedShortVideoResponse) GetMeta

func (x *FeedShortVideoResponse) GetMeta() *Metadata

func (*FeedShortVideoResponse) GetVideos

func (x *FeedShortVideoResponse) GetVideos() []*Video

func (*FeedShortVideoResponse) ProtoMessage

func (*FeedShortVideoResponse) ProtoMessage()

func (*FeedShortVideoResponse) ProtoReflect

func (x *FeedShortVideoResponse) ProtoReflect() protoreflect.Message

func (*FeedShortVideoResponse) Reset

func (x *FeedShortVideoResponse) Reset()

func (*FeedShortVideoResponse) String

func (x *FeedShortVideoResponse) String() string

type FollowServiceClient

type FollowServiceClient interface {
	AddFollow(ctx context.Context, in *AddFollowRequest, opts ...grpc.CallOption) (*AddFollowResponse, error)
	RemoveFollow(ctx context.Context, in *RemoveFollowRequest, opts ...grpc.CallOption) (*RemoveFollowResponse, error)
	ListFollowing(ctx context.Context, in *ListFollowingRequest, opts ...grpc.CallOption) (*ListFollowingResponse, error)
	IsFollowing(ctx context.Context, in *IsFollowingRequest, opts ...grpc.CallOption) (*IsFollowingResponse, error)
	CountFollow(ctx context.Context, in *CountFollowRequest, opts ...grpc.CallOption) (*CountFollowResponse, error)
}

FollowServiceClient is the client API for FollowService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FollowServiceServer

type FollowServiceServer interface {
	AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error)
	RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error)
	ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error)
	IsFollowing(context.Context, *IsFollowingRequest) (*IsFollowingResponse, error)
	CountFollow(context.Context, *CountFollowRequest) (*CountFollowResponse, error)
	// contains filtered or unexported methods
}

FollowServiceServer is the server API for FollowService service. All implementations must embed UnimplementedFollowServiceServer for forward compatibility.

type FollowType

type FollowType int32
const (
	FollowType_FOLLOWING FollowType = 0
	FollowType_FOLLOWER  FollowType = 1
	FollowType_BOTH      FollowType = 2
)

func (FollowType) Descriptor

func (FollowType) Descriptor() protoreflect.EnumDescriptor

func (FollowType) Enum

func (x FollowType) Enum() *FollowType

func (FollowType) EnumDescriptor deprecated

func (FollowType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FollowType.Descriptor instead.

func (FollowType) Number

func (x FollowType) Number() protoreflect.EnumNumber

func (FollowType) String

func (x FollowType) String() string

func (FollowType) Type

type GetCollectionByIdRequest

type GetCollectionByIdRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCollectionByIdRequest) Descriptor deprecated

func (*GetCollectionByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCollectionByIdRequest.ProtoReflect.Descriptor instead.

func (*GetCollectionByIdRequest) GetId

func (x *GetCollectionByIdRequest) GetId() int64

func (*GetCollectionByIdRequest) ProtoMessage

func (*GetCollectionByIdRequest) ProtoMessage()

func (*GetCollectionByIdRequest) ProtoReflect

func (x *GetCollectionByIdRequest) ProtoReflect() protoreflect.Message

func (*GetCollectionByIdRequest) Reset

func (x *GetCollectionByIdRequest) Reset()

func (*GetCollectionByIdRequest) String

func (x *GetCollectionByIdRequest) String() string

type GetCollectionByIdResponse

type GetCollectionByIdResponse struct {
	Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Meta       *Metadata   `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCollectionByIdResponse) Descriptor deprecated

func (*GetCollectionByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCollectionByIdResponse.ProtoReflect.Descriptor instead.

func (*GetCollectionByIdResponse) GetCollection

func (x *GetCollectionByIdResponse) GetCollection() *Collection

func (*GetCollectionByIdResponse) GetMeta

func (x *GetCollectionByIdResponse) GetMeta() *Metadata

func (*GetCollectionByIdResponse) ProtoMessage

func (*GetCollectionByIdResponse) ProtoMessage()

func (*GetCollectionByIdResponse) ProtoReflect

func (*GetCollectionByIdResponse) Reset

func (x *GetCollectionByIdResponse) Reset()

func (*GetCollectionByIdResponse) String

func (x *GetCollectionByIdResponse) String() string

type GetCommentByIdRequest

type GetCommentByIdRequest struct {
	CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // 评论id
	// contains filtered or unexported fields
}

func (*GetCommentByIdRequest) Descriptor deprecated

func (*GetCommentByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCommentByIdRequest.ProtoReflect.Descriptor instead.

func (*GetCommentByIdRequest) GetCommentId

func (x *GetCommentByIdRequest) GetCommentId() int64

func (*GetCommentByIdRequest) ProtoMessage

func (*GetCommentByIdRequest) ProtoMessage()

func (*GetCommentByIdRequest) ProtoReflect

func (x *GetCommentByIdRequest) ProtoReflect() protoreflect.Message

func (*GetCommentByIdRequest) Reset

func (x *GetCommentByIdRequest) Reset()

func (*GetCommentByIdRequest) String

func (x *GetCommentByIdRequest) String() string

type GetCommentByIdResponse

type GetCommentByIdResponse struct {
	Meta    *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Comment *Comment  `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCommentByIdResponse) Descriptor deprecated

func (*GetCommentByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCommentByIdResponse.ProtoReflect.Descriptor instead.

func (*GetCommentByIdResponse) GetComment

func (x *GetCommentByIdResponse) GetComment() *Comment

func (*GetCommentByIdResponse) GetMeta

func (x *GetCommentByIdResponse) GetMeta() *Metadata

func (*GetCommentByIdResponse) ProtoMessage

func (*GetCommentByIdResponse) ProtoMessage()

func (*GetCommentByIdResponse) ProtoReflect

func (x *GetCommentByIdResponse) ProtoReflect() protoreflect.Message

func (*GetCommentByIdResponse) Reset

func (x *GetCommentByIdResponse) Reset()

func (*GetCommentByIdResponse) String

func (x *GetCommentByIdResponse) String() string

type GetUserByIdListRequest

type GetUserByIdListRequest struct {
	UserIdList []int64 `protobuf:"varint,1,rep,packed,name=user_id_list,json=userIdList,proto3" json:"user_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByIdListRequest) Descriptor deprecated

func (*GetUserByIdListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByIdListRequest.ProtoReflect.Descriptor instead.

func (*GetUserByIdListRequest) GetUserIdList

func (x *GetUserByIdListRequest) GetUserIdList() []int64

func (*GetUserByIdListRequest) ProtoMessage

func (*GetUserByIdListRequest) ProtoMessage()

func (*GetUserByIdListRequest) ProtoReflect

func (x *GetUserByIdListRequest) ProtoReflect() protoreflect.Message

func (*GetUserByIdListRequest) Reset

func (x *GetUserByIdListRequest) Reset()

func (*GetUserByIdListRequest) String

func (x *GetUserByIdListRequest) String() string

type GetUserByIdListResponse

type GetUserByIdListResponse struct {
	UserList []*User   `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"`
	Meta     *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByIdListResponse) Descriptor deprecated

func (*GetUserByIdListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByIdListResponse.ProtoReflect.Descriptor instead.

func (*GetUserByIdListResponse) GetMeta

func (x *GetUserByIdListResponse) GetMeta() *Metadata

func (*GetUserByIdListResponse) GetUserList

func (x *GetUserByIdListResponse) GetUserList() []*User

func (*GetUserByIdListResponse) ProtoMessage

func (*GetUserByIdListResponse) ProtoMessage()

func (*GetUserByIdListResponse) ProtoReflect

func (x *GetUserByIdListResponse) ProtoReflect() protoreflect.Message

func (*GetUserByIdListResponse) Reset

func (x *GetUserByIdListResponse) Reset()

func (*GetUserByIdListResponse) String

func (x *GetUserByIdListResponse) String() string

type GetUserInfoRequest

type GetUserInfoRequest struct {
	UserId    int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoRequest) Descriptor deprecated

func (*GetUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoRequest) GetAccountId

func (x *GetUserInfoRequest) GetAccountId() int64

func (*GetUserInfoRequest) GetUserId

func (x *GetUserInfoRequest) GetUserId() int64

func (*GetUserInfoRequest) ProtoMessage

func (*GetUserInfoRequest) ProtoMessage()

func (*GetUserInfoRequest) ProtoReflect

func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message

func (*GetUserInfoRequest) Reset

func (x *GetUserInfoRequest) Reset()

func (*GetUserInfoRequest) String

func (x *GetUserInfoRequest) String() string

type GetUserInfoResponse

type GetUserInfoResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	User *User     `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoResponse) Descriptor deprecated

func (*GetUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.

func (*GetUserInfoResponse) GetMeta

func (x *GetUserInfoResponse) GetMeta() *Metadata

func (*GetUserInfoResponse) GetUser

func (x *GetUserInfoResponse) GetUser() *User

func (*GetUserInfoResponse) ProtoMessage

func (*GetUserInfoResponse) ProtoMessage()

func (*GetUserInfoResponse) ProtoReflect

func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message

func (*GetUserInfoResponse) Reset

func (x *GetUserInfoResponse) Reset()

func (*GetUserInfoResponse) String

func (x *GetUserInfoResponse) String() string

type GetVideoByIdListRequest

type GetVideoByIdListRequest struct {
	VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoByIdListRequest) Descriptor deprecated

func (*GetVideoByIdListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVideoByIdListRequest.ProtoReflect.Descriptor instead.

func (*GetVideoByIdListRequest) GetVideoIdList

func (x *GetVideoByIdListRequest) GetVideoIdList() []int64

func (*GetVideoByIdListRequest) ProtoMessage

func (*GetVideoByIdListRequest) ProtoMessage()

func (*GetVideoByIdListRequest) ProtoReflect

func (x *GetVideoByIdListRequest) ProtoReflect() protoreflect.Message

func (*GetVideoByIdListRequest) Reset

func (x *GetVideoByIdListRequest) Reset()

func (*GetVideoByIdListRequest) String

func (x *GetVideoByIdListRequest) String() string

type GetVideoByIdListResponse

type GetVideoByIdListResponse struct {
	Meta   *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Videos []*Video  `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoByIdListResponse) Descriptor deprecated

func (*GetVideoByIdListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVideoByIdListResponse.ProtoReflect.Descriptor instead.

func (*GetVideoByIdListResponse) GetMeta

func (x *GetVideoByIdListResponse) GetMeta() *Metadata

func (*GetVideoByIdListResponse) GetVideos

func (x *GetVideoByIdListResponse) GetVideos() []*Video

func (*GetVideoByIdListResponse) ProtoMessage

func (*GetVideoByIdListResponse) ProtoMessage()

func (*GetVideoByIdListResponse) ProtoReflect

func (x *GetVideoByIdListResponse) ProtoReflect() protoreflect.Message

func (*GetVideoByIdListResponse) Reset

func (x *GetVideoByIdListResponse) Reset()

func (*GetVideoByIdListResponse) String

func (x *GetVideoByIdListResponse) String() string

type GetVideoByIdRequest

type GetVideoByIdRequest struct {
	VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoByIdRequest) Descriptor deprecated

func (*GetVideoByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVideoByIdRequest.ProtoReflect.Descriptor instead.

func (*GetVideoByIdRequest) GetVideoId

func (x *GetVideoByIdRequest) GetVideoId() int64

func (*GetVideoByIdRequest) ProtoMessage

func (*GetVideoByIdRequest) ProtoMessage()

func (*GetVideoByIdRequest) ProtoReflect

func (x *GetVideoByIdRequest) ProtoReflect() protoreflect.Message

func (*GetVideoByIdRequest) Reset

func (x *GetVideoByIdRequest) Reset()

func (*GetVideoByIdRequest) String

func (x *GetVideoByIdRequest) String() string

type GetVideoByIdResponse

type GetVideoByIdResponse struct {
	Meta  *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Video *Video    `protobuf:"bytes,2,opt,name=video,proto3" json:"video,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoByIdResponse) Descriptor deprecated

func (*GetVideoByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVideoByIdResponse.ProtoReflect.Descriptor instead.

func (*GetVideoByIdResponse) GetMeta

func (x *GetVideoByIdResponse) GetMeta() *Metadata

func (*GetVideoByIdResponse) GetVideo

func (x *GetVideoByIdResponse) GetVideo() *Video

func (*GetVideoByIdResponse) ProtoMessage

func (*GetVideoByIdResponse) ProtoMessage()

func (*GetVideoByIdResponse) ProtoReflect

func (x *GetVideoByIdResponse) ProtoReflect() protoreflect.Message

func (*GetVideoByIdResponse) Reset

func (x *GetVideoByIdResponse) Reset()

func (*GetVideoByIdResponse) String

func (x *GetVideoByIdResponse) String() string

type IncrReadCountRequest

type IncrReadCountRequest struct {
	Biz   string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrReadCountRequest) Descriptor deprecated

func (*IncrReadCountRequest) Descriptor() ([]byte, []int)

Deprecated: Use IncrReadCountRequest.ProtoReflect.Descriptor instead.

func (*IncrReadCountRequest) GetBiz

func (x *IncrReadCountRequest) GetBiz() string

func (*IncrReadCountRequest) GetBizId

func (x *IncrReadCountRequest) GetBizId() int64

func (*IncrReadCountRequest) ProtoMessage

func (*IncrReadCountRequest) ProtoMessage()

func (*IncrReadCountRequest) ProtoReflect

func (x *IncrReadCountRequest) ProtoReflect() protoreflect.Message

func (*IncrReadCountRequest) Reset

func (x *IncrReadCountRequest) Reset()

func (*IncrReadCountRequest) String

func (x *IncrReadCountRequest) String() string

type IncrReadCountResponse

type IncrReadCountResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrReadCountResponse) Descriptor deprecated

func (*IncrReadCountResponse) Descriptor() ([]byte, []int)

Deprecated: Use IncrReadCountResponse.ProtoReflect.Descriptor instead.

func (*IncrReadCountResponse) GetMeta

func (x *IncrReadCountResponse) GetMeta() *Metadata

func (*IncrReadCountResponse) ProtoMessage

func (*IncrReadCountResponse) ProtoMessage()

func (*IncrReadCountResponse) ProtoReflect

func (x *IncrReadCountResponse) ProtoReflect() protoreflect.Message

func (*IncrReadCountResponse) Reset

func (x *IncrReadCountResponse) Reset()

func (*IncrReadCountResponse) String

func (x *IncrReadCountResponse) String() string

type InterServiceClient

type InterServiceClient interface {
	IncrReadCount(ctx context.Context, in *IncrReadCountRequest, opts ...grpc.CallOption) (*IncrReadCountResponse, error)
	Like(ctx context.Context, in *LikeRequest, opts ...grpc.CallOption) (*LikeResponse, error)
	CancelLike(ctx context.Context, in *CancelLikeRequest, opts ...grpc.CallOption) (*CancelLikeResponse, error)
	Collect(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*CollectResponse, error)
	CancelCollect(ctx context.Context, in *CancelCollectRequest, opts ...grpc.CallOption) (*CancelCollectResponse, error)
	Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error)
}

InterServiceClient is the client API for InterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type InterServiceServer

type InterServiceServer interface {
	IncrReadCount(context.Context, *IncrReadCountRequest) (*IncrReadCountResponse, error)
	Like(context.Context, *LikeRequest) (*LikeResponse, error)
	CancelLike(context.Context, *CancelLikeRequest) (*CancelLikeResponse, error)
	Collect(context.Context, *CollectRequest) (*CollectResponse, error)
	CancelCollect(context.Context, *CancelCollectRequest) (*CancelCollectResponse, error)
	Stat(context.Context, *StatRequest) (*StatResponse, error)
	// contains filtered or unexported methods
}

InterServiceServer is the server API for InterService service. All implementations must embed UnimplementedInterServiceServer for forward compatibility.

type IsCollectedRequest

type IsCollectedRequest struct {
	UserId      int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	VideoIdList []int64 `protobuf:"varint,2,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCollectedRequest) Descriptor deprecated

func (*IsCollectedRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsCollectedRequest.ProtoReflect.Descriptor instead.

func (*IsCollectedRequest) GetUserId

func (x *IsCollectedRequest) GetUserId() int64

func (*IsCollectedRequest) GetVideoIdList

func (x *IsCollectedRequest) GetVideoIdList() []int64

func (*IsCollectedRequest) ProtoMessage

func (*IsCollectedRequest) ProtoMessage()

func (*IsCollectedRequest) ProtoReflect

func (x *IsCollectedRequest) ProtoReflect() protoreflect.Message

func (*IsCollectedRequest) Reset

func (x *IsCollectedRequest) Reset()

func (*IsCollectedRequest) String

func (x *IsCollectedRequest) String() string

type IsCollectedResponse

type IsCollectedResponse struct {
	VideoIdList []int64   `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"`
	Meta        *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCollectedResponse) Descriptor deprecated

func (*IsCollectedResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsCollectedResponse.ProtoReflect.Descriptor instead.

func (*IsCollectedResponse) GetMeta

func (x *IsCollectedResponse) GetMeta() *Metadata

func (*IsCollectedResponse) GetVideoIdList

func (x *IsCollectedResponse) GetVideoIdList() []int64

func (*IsCollectedResponse) ProtoMessage

func (*IsCollectedResponse) ProtoMessage()

func (*IsCollectedResponse) ProtoReflect

func (x *IsCollectedResponse) ProtoReflect() protoreflect.Message

func (*IsCollectedResponse) Reset

func (x *IsCollectedResponse) Reset()

func (*IsCollectedResponse) String

func (x *IsCollectedResponse) String() string

type IsFollowingRequest

type IsFollowingRequest struct {
	UserId           int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TargetUserIdList []int64 `protobuf:"varint,2,rep,packed,name=target_user_id_list,json=targetUserIdList,proto3" json:"target_user_id_list,omitempty"`
	// contains filtered or unexported fields
}

func (*IsFollowingRequest) Descriptor deprecated

func (*IsFollowingRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsFollowingRequest.ProtoReflect.Descriptor instead.

func (*IsFollowingRequest) GetTargetUserIdList

func (x *IsFollowingRequest) GetTargetUserIdList() []int64

func (*IsFollowingRequest) GetUserId

func (x *IsFollowingRequest) GetUserId() int64

func (*IsFollowingRequest) ProtoMessage

func (*IsFollowingRequest) ProtoMessage()

func (*IsFollowingRequest) ProtoReflect

func (x *IsFollowingRequest) ProtoReflect() protoreflect.Message

func (*IsFollowingRequest) Reset

func (x *IsFollowingRequest) Reset()

func (*IsFollowingRequest) String

func (x *IsFollowingRequest) String() string

type IsFollowingResponse

type IsFollowingResponse struct {
	Meta          *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	FollowingList []int64   `protobuf:"varint,2,rep,packed,name=following_list,json=followingList,proto3" json:"following_list,omitempty"`
	// contains filtered or unexported fields
}

func (*IsFollowingResponse) Descriptor deprecated

func (*IsFollowingResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsFollowingResponse.ProtoReflect.Descriptor instead.

func (*IsFollowingResponse) GetFollowingList

func (x *IsFollowingResponse) GetFollowingList() []int64

func (*IsFollowingResponse) GetMeta

func (x *IsFollowingResponse) GetMeta() *Metadata

func (*IsFollowingResponse) ProtoMessage

func (*IsFollowingResponse) ProtoMessage()

func (*IsFollowingResponse) ProtoReflect

func (x *IsFollowingResponse) ProtoReflect() protoreflect.Message

func (*IsFollowingResponse) Reset

func (x *IsFollowingResponse) Reset()

func (*IsFollowingResponse) String

func (x *IsFollowingResponse) String() string

type LikeRequest

type LikeRequest struct {
	Biz    string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId  int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LikeRequest) Descriptor deprecated

func (*LikeRequest) Descriptor() ([]byte, []int)

Deprecated: Use LikeRequest.ProtoReflect.Descriptor instead.

func (*LikeRequest) GetBiz

func (x *LikeRequest) GetBiz() string

func (*LikeRequest) GetBizId

func (x *LikeRequest) GetBizId() int64

func (*LikeRequest) GetUserId

func (x *LikeRequest) GetUserId() int64

func (*LikeRequest) ProtoMessage

func (*LikeRequest) ProtoMessage()

func (*LikeRequest) ProtoReflect

func (x *LikeRequest) ProtoReflect() protoreflect.Message

func (*LikeRequest) Reset

func (x *LikeRequest) Reset()

func (*LikeRequest) String

func (x *LikeRequest) String() string

type LikeResponse

type LikeResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*LikeResponse) Descriptor deprecated

func (*LikeResponse) Descriptor() ([]byte, []int)

Deprecated: Use LikeResponse.ProtoReflect.Descriptor instead.

func (*LikeResponse) GetMeta

func (x *LikeResponse) GetMeta() *Metadata

func (*LikeResponse) ProtoMessage

func (*LikeResponse) ProtoMessage()

func (*LikeResponse) ProtoReflect

func (x *LikeResponse) ProtoReflect() protoreflect.Message

func (*LikeResponse) Reset

func (x *LikeResponse) Reset()

func (*LikeResponse) String

func (x *LikeResponse) String() string

type ListChildComment4CommentRequest

type ListChildComment4CommentRequest struct {
	CommentId  int64              `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"`
	Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildComment4CommentRequest) Descriptor deprecated

func (*ListChildComment4CommentRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListChildComment4CommentRequest.ProtoReflect.Descriptor instead.

func (*ListChildComment4CommentRequest) GetCommentId

func (x *ListChildComment4CommentRequest) GetCommentId() int64

func (*ListChildComment4CommentRequest) GetPagination

func (*ListChildComment4CommentRequest) ProtoMessage

func (*ListChildComment4CommentRequest) ProtoMessage()

func (*ListChildComment4CommentRequest) ProtoReflect

func (*ListChildComment4CommentRequest) Reset

func (*ListChildComment4CommentRequest) String

type ListChildComment4CommentResponse

type ListChildComment4CommentResponse struct {
	Meta       *Metadata           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Comments   []*Comment          `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
	Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildComment4CommentResponse) Descriptor deprecated

func (*ListChildComment4CommentResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListChildComment4CommentResponse.ProtoReflect.Descriptor instead.

func (*ListChildComment4CommentResponse) GetComments

func (x *ListChildComment4CommentResponse) GetComments() []*Comment

func (*ListChildComment4CommentResponse) GetMeta

func (*ListChildComment4CommentResponse) GetPagination

func (*ListChildComment4CommentResponse) ProtoMessage

func (*ListChildComment4CommentResponse) ProtoMessage()

func (*ListChildComment4CommentResponse) ProtoReflect

func (*ListChildComment4CommentResponse) Reset

func (*ListChildComment4CommentResponse) String

type ListCollectionRequest

type ListCollectionRequest struct {
	UserId     int64              `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionRequest) Descriptor deprecated

func (*ListCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionRequest) GetPagination

func (x *ListCollectionRequest) GetPagination() *PaginationRequest

func (*ListCollectionRequest) GetUserId

func (x *ListCollectionRequest) GetUserId() int64

func (*ListCollectionRequest) ProtoMessage

func (*ListCollectionRequest) ProtoMessage()

func (*ListCollectionRequest) ProtoReflect

func (x *ListCollectionRequest) ProtoReflect() protoreflect.Message

func (*ListCollectionRequest) Reset

func (x *ListCollectionRequest) Reset()

func (*ListCollectionRequest) String

func (x *ListCollectionRequest) String() string

type ListCollectionResponse

type ListCollectionResponse struct {
	Collections []*Collection       `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	Meta        *Metadata           `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	Pagination  *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionResponse) Descriptor deprecated

func (*ListCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionResponse.ProtoReflect.Descriptor instead.

func (*ListCollectionResponse) GetCollections

func (x *ListCollectionResponse) GetCollections() []*Collection

func (*ListCollectionResponse) GetMeta

func (x *ListCollectionResponse) GetMeta() *Metadata

func (*ListCollectionResponse) GetPagination

func (x *ListCollectionResponse) GetPagination() *PaginationResponse

func (*ListCollectionResponse) ProtoMessage

func (*ListCollectionResponse) ProtoMessage()

func (*ListCollectionResponse) ProtoReflect

func (x *ListCollectionResponse) ProtoReflect() protoreflect.Message

func (*ListCollectionResponse) Reset

func (x *ListCollectionResponse) Reset()

func (*ListCollectionResponse) String

func (x *ListCollectionResponse) String() string

type ListCollectionVideoRequest

type ListCollectionVideoRequest struct {
	CollectionId int64              `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	Pagination   *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionVideoRequest) Descriptor deprecated

func (*ListCollectionVideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionVideoRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionVideoRequest) GetCollectionId

func (x *ListCollectionVideoRequest) GetCollectionId() int64

func (*ListCollectionVideoRequest) GetPagination

func (x *ListCollectionVideoRequest) GetPagination() *PaginationRequest

func (*ListCollectionVideoRequest) ProtoMessage

func (*ListCollectionVideoRequest) ProtoMessage()

func (*ListCollectionVideoRequest) ProtoReflect

func (*ListCollectionVideoRequest) Reset

func (x *ListCollectionVideoRequest) Reset()

func (*ListCollectionVideoRequest) String

func (x *ListCollectionVideoRequest) String() string

type ListCollectionVideoResponse

type ListCollectionVideoResponse struct {
	VideoIdList []int64             `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"`
	Meta        *Metadata           `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	Pagination  *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionVideoResponse) Descriptor deprecated

func (*ListCollectionVideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionVideoResponse.ProtoReflect.Descriptor instead.

func (*ListCollectionVideoResponse) GetMeta

func (x *ListCollectionVideoResponse) GetMeta() *Metadata

func (*ListCollectionVideoResponse) GetPagination

func (x *ListCollectionVideoResponse) GetPagination() *PaginationResponse

func (*ListCollectionVideoResponse) GetVideoIdList

func (x *ListCollectionVideoResponse) GetVideoIdList() []int64

func (*ListCollectionVideoResponse) ProtoMessage

func (*ListCollectionVideoResponse) ProtoMessage()

func (*ListCollectionVideoResponse) ProtoReflect

func (*ListCollectionVideoResponse) Reset

func (x *ListCollectionVideoResponse) Reset()

func (*ListCollectionVideoResponse) String

func (x *ListCollectionVideoResponse) String() string

type ListComment4VideoRequest

type ListComment4VideoRequest struct {
	VideoId    int64              `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id
	Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListComment4VideoRequest) Descriptor deprecated

func (*ListComment4VideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListComment4VideoRequest.ProtoReflect.Descriptor instead.

func (*ListComment4VideoRequest) GetPagination

func (x *ListComment4VideoRequest) GetPagination() *PaginationRequest

func (*ListComment4VideoRequest) GetVideoId

func (x *ListComment4VideoRequest) GetVideoId() int64

func (*ListComment4VideoRequest) ProtoMessage

func (*ListComment4VideoRequest) ProtoMessage()

func (*ListComment4VideoRequest) ProtoReflect

func (x *ListComment4VideoRequest) ProtoReflect() protoreflect.Message

func (*ListComment4VideoRequest) Reset

func (x *ListComment4VideoRequest) Reset()

func (*ListComment4VideoRequest) String

func (x *ListComment4VideoRequest) String() string

type ListComment4VideoResponse

type ListComment4VideoResponse struct {
	Meta       *Metadata           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Comments   []*Comment          `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
	Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListComment4VideoResponse) Descriptor deprecated

func (*ListComment4VideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListComment4VideoResponse.ProtoReflect.Descriptor instead.

func (*ListComment4VideoResponse) GetComments

func (x *ListComment4VideoResponse) GetComments() []*Comment

func (*ListComment4VideoResponse) GetMeta

func (x *ListComment4VideoResponse) GetMeta() *Metadata

func (*ListComment4VideoResponse) GetPagination

func (x *ListComment4VideoResponse) GetPagination() *PaginationResponse

func (*ListComment4VideoResponse) ProtoMessage

func (*ListComment4VideoResponse) ProtoMessage()

func (*ListComment4VideoResponse) ProtoReflect

func (*ListComment4VideoResponse) Reset

func (x *ListComment4VideoResponse) Reset()

func (*ListComment4VideoResponse) String

func (x *ListComment4VideoResponse) String() string

type ListFollowingRequest

type ListFollowingRequest struct {
	UserId     int64              `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	FollowType FollowType         `protobuf:"varint,2,opt,name=follow_type,json=followType,proto3,enum=coreService.v1.FollowType" json:"follow_type,omitempty"`
	Pagination *PaginationRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFollowingRequest) Descriptor deprecated

func (*ListFollowingRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFollowingRequest.ProtoReflect.Descriptor instead.

func (*ListFollowingRequest) GetFollowType

func (x *ListFollowingRequest) GetFollowType() FollowType

func (*ListFollowingRequest) GetPagination

func (x *ListFollowingRequest) GetPagination() *PaginationRequest

func (*ListFollowingRequest) GetUserId

func (x *ListFollowingRequest) GetUserId() int64

func (*ListFollowingRequest) ProtoMessage

func (*ListFollowingRequest) ProtoMessage()

func (*ListFollowingRequest) ProtoReflect

func (x *ListFollowingRequest) ProtoReflect() protoreflect.Message

func (*ListFollowingRequest) Reset

func (x *ListFollowingRequest) Reset()

func (*ListFollowingRequest) String

func (x *ListFollowingRequest) String() string

type ListFollowingResponse

type ListFollowingResponse struct {
	Meta       *Metadata           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	UserIdList []int64             `protobuf:"varint,2,rep,packed,name=user_id_list,json=userIdList,proto3" json:"user_id_list,omitempty"`
	Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFollowingResponse) Descriptor deprecated

func (*ListFollowingResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFollowingResponse.ProtoReflect.Descriptor instead.

func (*ListFollowingResponse) GetMeta

func (x *ListFollowingResponse) GetMeta() *Metadata

func (*ListFollowingResponse) GetPagination

func (x *ListFollowingResponse) GetPagination() *PaginationResponse

func (*ListFollowingResponse) GetUserIdList

func (x *ListFollowingResponse) GetUserIdList() []int64

func (*ListFollowingResponse) ProtoMessage

func (*ListFollowingResponse) ProtoMessage()

func (*ListFollowingResponse) ProtoReflect

func (x *ListFollowingResponse) ProtoReflect() protoreflect.Message

func (*ListFollowingResponse) Reset

func (x *ListFollowingResponse) Reset()

func (*ListFollowingResponse) String

func (x *ListFollowingResponse) String() string

type ListPublishedVideoRequest

type ListPublishedVideoRequest struct {
	UserId     int64              `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	LatestTime int64              `protobuf:"varint,2,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间
	Pagination *PaginationRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublishedVideoRequest) Descriptor deprecated

func (*ListPublishedVideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPublishedVideoRequest.ProtoReflect.Descriptor instead.

func (*ListPublishedVideoRequest) GetLatestTime

func (x *ListPublishedVideoRequest) GetLatestTime() int64

func (*ListPublishedVideoRequest) GetPagination

func (x *ListPublishedVideoRequest) GetPagination() *PaginationRequest

func (*ListPublishedVideoRequest) GetUserId

func (x *ListPublishedVideoRequest) GetUserId() int64

func (*ListPublishedVideoRequest) ProtoMessage

func (*ListPublishedVideoRequest) ProtoMessage()

func (*ListPublishedVideoRequest) ProtoReflect

func (*ListPublishedVideoRequest) Reset

func (x *ListPublishedVideoRequest) Reset()

func (*ListPublishedVideoRequest) String

func (x *ListPublishedVideoRequest) String() string

type ListPublishedVideoResponse

type ListPublishedVideoResponse struct {
	Meta       *Metadata           `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Videos     []*Video            `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"`
	Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublishedVideoResponse) Descriptor deprecated

func (*ListPublishedVideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPublishedVideoResponse.ProtoReflect.Descriptor instead.

func (*ListPublishedVideoResponse) GetMeta

func (x *ListPublishedVideoResponse) GetMeta() *Metadata

func (*ListPublishedVideoResponse) GetPagination

func (x *ListPublishedVideoResponse) GetPagination() *PaginationResponse

func (*ListPublishedVideoResponse) GetVideos

func (x *ListPublishedVideoResponse) GetVideos() []*Video

func (*ListPublishedVideoResponse) ProtoMessage

func (*ListPublishedVideoResponse) ProtoMessage()

func (*ListPublishedVideoResponse) ProtoReflect

func (*ListPublishedVideoResponse) Reset

func (x *ListPublishedVideoResponse) Reset()

func (*ListPublishedVideoResponse) String

func (x *ListPublishedVideoResponse) String() string

type Metadata

type Metadata struct {
	BizCode int32    `protobuf:"varint,1,opt,name=biz_code,json=bizCode,proto3" json:"biz_code,omitempty"`
	Message string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Domain  string   `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Reason  []string `protobuf:"bytes,4,rep,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBizCode

func (x *Metadata) GetBizCode() int32

func (*Metadata) GetDomain

func (x *Metadata) GetDomain() string

func (*Metadata) GetMessage

func (x *Metadata) GetMessage() string

func (*Metadata) GetReason

func (x *Metadata) GetReason() []string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type PaginationRequest

type PaginationRequest struct {
	Page int32        `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码 [1, +∞)
	Size int32        `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 页面大小
	Sort []*SortField `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"`  // 根据字段进行排序
	// contains filtered or unexported fields
}

func (*PaginationRequest) Descriptor deprecated

func (*PaginationRequest) Descriptor() ([]byte, []int)

Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.

func (*PaginationRequest) GetPage

func (x *PaginationRequest) GetPage() int32

func (*PaginationRequest) GetSize

func (x *PaginationRequest) GetSize() int32

func (*PaginationRequest) GetSort

func (x *PaginationRequest) GetSort() []*SortField

func (*PaginationRequest) ProtoMessage

func (*PaginationRequest) ProtoMessage()

func (*PaginationRequest) ProtoReflect

func (x *PaginationRequest) ProtoReflect() protoreflect.Message

func (*PaginationRequest) Reset

func (x *PaginationRequest) Reset()

func (*PaginationRequest) String

func (x *PaginationRequest) String() string

type PaginationResponse

type PaginationResponse struct {
	Page  int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`   // 当前数据的所属页码
	Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总页数
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // 总条目数
	// contains filtered or unexported fields
}

func (*PaginationResponse) Descriptor deprecated

func (*PaginationResponse) Descriptor() ([]byte, []int)

Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.

func (*PaginationResponse) GetCount

func (x *PaginationResponse) GetCount() int32

func (*PaginationResponse) GetPage

func (x *PaginationResponse) GetPage() int32

func (*PaginationResponse) GetTotal

func (x *PaginationResponse) GetTotal() int32

func (*PaginationResponse) ProtoMessage

func (*PaginationResponse) ProtoMessage()

func (*PaginationResponse) ProtoReflect

func (x *PaginationResponse) ProtoReflect() protoreflect.Message

func (*PaginationResponse) Reset

func (x *PaginationResponse) Reset()

func (*PaginationResponse) String

func (x *PaginationResponse) String() string

type PublishVideoRequest

type PublishVideoRequest struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`                       // 视频标题
	CoverUrl    string `protobuf:"bytes,2,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频封面地址
	PlayUrl     string `protobuf:"bytes,3,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"`    // 视频播放地址
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`           // 视频描述
	UserId      int64  `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`      // 视频作者id
	// contains filtered or unexported fields
}

func (*PublishVideoRequest) Descriptor deprecated

func (*PublishVideoRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishVideoRequest.ProtoReflect.Descriptor instead.

func (*PublishVideoRequest) GetCoverUrl

func (x *PublishVideoRequest) GetCoverUrl() string

func (*PublishVideoRequest) GetDescription

func (x *PublishVideoRequest) GetDescription() string

func (*PublishVideoRequest) GetPlayUrl

func (x *PublishVideoRequest) GetPlayUrl() string

func (*PublishVideoRequest) GetTitle

func (x *PublishVideoRequest) GetTitle() string

func (*PublishVideoRequest) GetUserId

func (x *PublishVideoRequest) GetUserId() int64

func (*PublishVideoRequest) ProtoMessage

func (*PublishVideoRequest) ProtoMessage()

func (*PublishVideoRequest) ProtoReflect

func (x *PublishVideoRequest) ProtoReflect() protoreflect.Message

func (*PublishVideoRequest) Reset

func (x *PublishVideoRequest) Reset()

func (*PublishVideoRequest) String

func (x *PublishVideoRequest) String() string

type PublishVideoResponse

type PublishVideoResponse struct {
	Meta    *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	VideoId int64     `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishVideoResponse) Descriptor deprecated

func (*PublishVideoResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishVideoResponse.ProtoReflect.Descriptor instead.

func (*PublishVideoResponse) GetMeta

func (x *PublishVideoResponse) GetMeta() *Metadata

func (*PublishVideoResponse) GetVideoId

func (x *PublishVideoResponse) GetVideoId() int64

func (*PublishVideoResponse) ProtoMessage

func (*PublishVideoResponse) ProtoMessage()

func (*PublishVideoResponse) ProtoReflect

func (x *PublishVideoResponse) ProtoReflect() protoreflect.Message

func (*PublishVideoResponse) Reset

func (x *PublishVideoResponse) Reset()

func (*PublishVideoResponse) String

func (x *PublishVideoResponse) String() string

type RemoveCollectionRequest

type RemoveCollectionRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCollectionRequest) Descriptor deprecated

func (*RemoveCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveCollectionRequest.ProtoReflect.Descriptor instead.

func (*RemoveCollectionRequest) GetId

func (x *RemoveCollectionRequest) GetId() int64

func (*RemoveCollectionRequest) ProtoMessage

func (*RemoveCollectionRequest) ProtoMessage()

func (*RemoveCollectionRequest) ProtoReflect

func (x *RemoveCollectionRequest) ProtoReflect() protoreflect.Message

func (*RemoveCollectionRequest) Reset

func (x *RemoveCollectionRequest) Reset()

func (*RemoveCollectionRequest) String

func (x *RemoveCollectionRequest) String() string

type RemoveCollectionResponse

type RemoveCollectionResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCollectionResponse) Descriptor deprecated

func (*RemoveCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveCollectionResponse.ProtoReflect.Descriptor instead.

func (*RemoveCollectionResponse) GetMeta

func (x *RemoveCollectionResponse) GetMeta() *Metadata

func (*RemoveCollectionResponse) ProtoMessage

func (*RemoveCollectionResponse) ProtoMessage()

func (*RemoveCollectionResponse) ProtoReflect

func (x *RemoveCollectionResponse) ProtoReflect() protoreflect.Message

func (*RemoveCollectionResponse) Reset

func (x *RemoveCollectionResponse) Reset()

func (*RemoveCollectionResponse) String

func (x *RemoveCollectionResponse) String() string

type RemoveCommentRequest

type RemoveCommentRequest struct {
	CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // 评论id
	UserId    int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`          // 用户id
	// contains filtered or unexported fields
}

func (*RemoveCommentRequest) Descriptor deprecated

func (*RemoveCommentRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveCommentRequest.ProtoReflect.Descriptor instead.

func (*RemoveCommentRequest) GetCommentId

func (x *RemoveCommentRequest) GetCommentId() int64

func (*RemoveCommentRequest) GetUserId

func (x *RemoveCommentRequest) GetUserId() int64

func (*RemoveCommentRequest) ProtoMessage

func (*RemoveCommentRequest) ProtoMessage()

func (*RemoveCommentRequest) ProtoReflect

func (x *RemoveCommentRequest) ProtoReflect() protoreflect.Message

func (*RemoveCommentRequest) Reset

func (x *RemoveCommentRequest) Reset()

func (*RemoveCommentRequest) String

func (x *RemoveCommentRequest) String() string

type RemoveCommentResponse

type RemoveCommentResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCommentResponse) Descriptor deprecated

func (*RemoveCommentResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveCommentResponse.ProtoReflect.Descriptor instead.

func (*RemoveCommentResponse) GetMeta

func (x *RemoveCommentResponse) GetMeta() *Metadata

func (*RemoveCommentResponse) ProtoMessage

func (*RemoveCommentResponse) ProtoMessage()

func (*RemoveCommentResponse) ProtoReflect

func (x *RemoveCommentResponse) ProtoReflect() protoreflect.Message

func (*RemoveCommentResponse) Reset

func (x *RemoveCommentResponse) Reset()

func (*RemoveCommentResponse) String

func (x *RemoveCommentResponse) String() string

type RemoveFollowRequest

type RemoveFollowRequest struct {
	UserId       int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFollowRequest) Descriptor deprecated

func (*RemoveFollowRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFollowRequest.ProtoReflect.Descriptor instead.

func (*RemoveFollowRequest) GetTargetUserId

func (x *RemoveFollowRequest) GetTargetUserId() int64

func (*RemoveFollowRequest) GetUserId

func (x *RemoveFollowRequest) GetUserId() int64

func (*RemoveFollowRequest) ProtoMessage

func (*RemoveFollowRequest) ProtoMessage()

func (*RemoveFollowRequest) ProtoReflect

func (x *RemoveFollowRequest) ProtoReflect() protoreflect.Message

func (*RemoveFollowRequest) Reset

func (x *RemoveFollowRequest) Reset()

func (*RemoveFollowRequest) String

func (x *RemoveFollowRequest) String() string

type RemoveFollowResponse

type RemoveFollowResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFollowResponse) Descriptor deprecated

func (*RemoveFollowResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFollowResponse.ProtoReflect.Descriptor instead.

func (*RemoveFollowResponse) GetMeta

func (x *RemoveFollowResponse) GetMeta() *Metadata

func (*RemoveFollowResponse) ProtoMessage

func (*RemoveFollowResponse) ProtoMessage()

func (*RemoveFollowResponse) ProtoReflect

func (x *RemoveFollowResponse) ProtoReflect() protoreflect.Message

func (*RemoveFollowResponse) Reset

func (x *RemoveFollowResponse) Reset()

func (*RemoveFollowResponse) String

func (x *RemoveFollowResponse) String() string

type RemoveVideoFromCollectionRequest

type RemoveVideoFromCollectionRequest struct {
	CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	VideoId      int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"`
	UserId       int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVideoFromCollectionRequest) Descriptor deprecated

func (*RemoveVideoFromCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVideoFromCollectionRequest.ProtoReflect.Descriptor instead.

func (*RemoveVideoFromCollectionRequest) GetCollectionId

func (x *RemoveVideoFromCollectionRequest) GetCollectionId() int64

func (*RemoveVideoFromCollectionRequest) GetUserId

func (x *RemoveVideoFromCollectionRequest) GetUserId() int64

func (*RemoveVideoFromCollectionRequest) GetVideoId

func (x *RemoveVideoFromCollectionRequest) GetVideoId() int64

func (*RemoveVideoFromCollectionRequest) ProtoMessage

func (*RemoveVideoFromCollectionRequest) ProtoMessage()

func (*RemoveVideoFromCollectionRequest) ProtoReflect

func (*RemoveVideoFromCollectionRequest) Reset

func (*RemoveVideoFromCollectionRequest) String

type RemoveVideoFromCollectionResponse

type RemoveVideoFromCollectionResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVideoFromCollectionResponse) Descriptor deprecated

func (*RemoveVideoFromCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVideoFromCollectionResponse.ProtoReflect.Descriptor instead.

func (*RemoveVideoFromCollectionResponse) GetMeta

func (*RemoveVideoFromCollectionResponse) ProtoMessage

func (*RemoveVideoFromCollectionResponse) ProtoMessage()

func (*RemoveVideoFromCollectionResponse) ProtoReflect

func (*RemoveVideoFromCollectionResponse) Reset

func (*RemoveVideoFromCollectionResponse) String

type SearchField

type SearchField struct {
	Field     string         `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`                                           // 用于搜索的字段名称
	Value     string         `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`                                           // 搜索的值
	ValueList []string       `protobuf:"bytes,3,rep,name=value_list,json=valueList,proto3" json:"value_list,omitempty"`                  // 搜索的值列表
	Operator  SearchOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=coreService.v1.SearchOperator" json:"operator,omitempty"` // 操作符
	// contains filtered or unexported fields
}

func (*SearchField) Descriptor deprecated

func (*SearchField) Descriptor() ([]byte, []int)

Deprecated: Use SearchField.ProtoReflect.Descriptor instead.

func (*SearchField) GetField

func (x *SearchField) GetField() string

func (*SearchField) GetOperator

func (x *SearchField) GetOperator() SearchOperator

func (*SearchField) GetValue

func (x *SearchField) GetValue() string

func (*SearchField) GetValueList

func (x *SearchField) GetValueList() []string

func (*SearchField) ProtoMessage

func (*SearchField) ProtoMessage()

func (*SearchField) ProtoReflect

func (x *SearchField) ProtoReflect() protoreflect.Message

func (*SearchField) Reset

func (x *SearchField) Reset()

func (*SearchField) String

func (x *SearchField) String() string

type SearchOperator

type SearchOperator int32
const (
	SearchOperator_EQ       SearchOperator = 0  // 等于
	SearchOperator_NE       SearchOperator = 1  // 不等于
	SearchOperator_GT       SearchOperator = 2  // 大于
	SearchOperator_GE       SearchOperator = 3  // 大于等于
	SearchOperator_LT       SearchOperator = 4  // 小于
	SearchOperator_LE       SearchOperator = 5  // 小于等于
	SearchOperator_LIKE     SearchOperator = 6  // 使用like的模糊匹配
	SearchOperator_WILDCARD SearchOperator = 7  // 使用通配符的模糊匹配
	SearchOperator_IN       SearchOperator = 8  // 在指定的集合中
	SearchOperator_NOT_IN   SearchOperator = 9  // 不在指定的集合中
	SearchOperator_BETWEEN  SearchOperator = 10 // 在指定的范围内
	SearchOperator_RE       SearchOperator = 11 // 正则匹配
)

func (SearchOperator) Descriptor

func (SearchOperator) Enum

func (x SearchOperator) Enum() *SearchOperator

func (SearchOperator) EnumDescriptor deprecated

func (SearchOperator) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchOperator.Descriptor instead.

func (SearchOperator) Number

func (SearchOperator) String

func (x SearchOperator) String() string

func (SearchOperator) Type

type SearchRequest

type SearchRequest struct {
	Search []*SearchField `protobuf:"bytes,1,rep,name=search,proto3" json:"search,omitempty"` // 搜索条件
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetSearch

func (x *SearchRequest) GetSearch() []*SearchField

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SortField

type SortField struct {
	Field string    `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`                                // 用于排序的字段名称
	Order SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=coreService.v1.SortOrder" json:"order,omitempty"` // 排序方式
	// contains filtered or unexported fields
}

func (*SortField) Descriptor deprecated

func (*SortField) Descriptor() ([]byte, []int)

Deprecated: Use SortField.ProtoReflect.Descriptor instead.

func (*SortField) GetField

func (x *SortField) GetField() string

func (*SortField) GetOrder

func (x *SortField) GetOrder() SortOrder

func (*SortField) ProtoMessage

func (*SortField) ProtoMessage()

func (*SortField) ProtoReflect

func (x *SortField) ProtoReflect() protoreflect.Message

func (*SortField) Reset

func (x *SortField) Reset()

func (*SortField) String

func (x *SortField) String() string

type SortOrder

type SortOrder int32
const (
	SortOrder_ASC  SortOrder = 0
	SortOrder_DESC SortOrder = 1
)

func (SortOrder) Descriptor

func (SortOrder) Descriptor() protoreflect.EnumDescriptor

func (SortOrder) Enum

func (x SortOrder) Enum() *SortOrder

func (SortOrder) EnumDescriptor deprecated

func (SortOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use SortOrder.Descriptor instead.

func (SortOrder) Number

func (x SortOrder) Number() protoreflect.EnumNumber

func (SortOrder) String

func (x SortOrder) String() string

func (SortOrder) Type

type StatRequest

type StatRequest struct {
	Biz    string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"`
	BizId  int64  `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StatRequest) Descriptor deprecated

func (*StatRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.

func (*StatRequest) GetBiz

func (x *StatRequest) GetBiz() string

func (*StatRequest) GetBizId

func (x *StatRequest) GetBizId() int64

func (*StatRequest) GetUserId

func (x *StatRequest) GetUserId() int64

func (*StatRequest) ProtoMessage

func (*StatRequest) ProtoMessage()

func (*StatRequest) ProtoReflect

func (x *StatRequest) ProtoReflect() protoreflect.Message

func (*StatRequest) Reset

func (x *StatRequest) Reset()

func (*StatRequest) String

func (x *StatRequest) String() string

type StatResponse

type StatResponse struct {
	Meta       *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	LikeCnt    int64     `protobuf:"varint,2,opt,name=like_cnt,json=likeCnt,proto3" json:"like_cnt,omitempty"`
	CollectCnt int64     `protobuf:"varint,3,opt,name=collect_cnt,json=collectCnt,proto3" json:"collect_cnt,omitempty"`
	ReadCnt    int64     `protobuf:"varint,4,opt,name=read_cnt,json=readCnt,proto3" json:"read_cnt,omitempty"`
	IsLike     bool      `protobuf:"varint,5,opt,name=is_like,json=isLike,proto3" json:"is_like,omitempty"`
	IsCollect  bool      `protobuf:"varint,6,opt,name=is_collect,json=isCollect,proto3" json:"is_collect,omitempty"`
	// contains filtered or unexported fields
}

func (*StatResponse) Descriptor deprecated

func (*StatResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.

func (*StatResponse) GetCollectCnt

func (x *StatResponse) GetCollectCnt() int64

func (*StatResponse) GetIsCollect

func (x *StatResponse) GetIsCollect() bool

func (*StatResponse) GetIsLike

func (x *StatResponse) GetIsLike() bool

func (*StatResponse) GetLikeCnt

func (x *StatResponse) GetLikeCnt() int64

func (*StatResponse) GetMeta

func (x *StatResponse) GetMeta() *Metadata

func (*StatResponse) GetReadCnt

func (x *StatResponse) GetReadCnt() int64

func (*StatResponse) ProtoMessage

func (*StatResponse) ProtoMessage()

func (*StatResponse) ProtoReflect

func (x *StatResponse) ProtoReflect() protoreflect.Message

func (*StatResponse) Reset

func (x *StatResponse) Reset()

func (*StatResponse) String

func (x *StatResponse) String() string

type UnimplementedCollectionServiceServer

type UnimplementedCollectionServiceServer struct{}

UnimplementedCollectionServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCollectionServiceServer) AddVideo2Collection

func (UnimplementedCollectionServiceServer) CountCollect4Video

func (UnimplementedCollectionServiceServer) CreateCollection

func (UnimplementedCollectionServiceServer) GetCollectionById

func (UnimplementedCollectionServiceServer) IsCollected

func (UnimplementedCollectionServiceServer) ListCollection

func (UnimplementedCollectionServiceServer) ListCollectionVideo

func (UnimplementedCollectionServiceServer) RemoveCollection

func (UnimplementedCollectionServiceServer) UpdateCollection

type UnimplementedCommentServiceServer

type UnimplementedCommentServiceServer struct{}

UnimplementedCommentServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCommentServiceServer) CountComment4User

func (UnimplementedCommentServiceServer) CountComment4Video

func (UnimplementedCommentServiceServer) CreateComment

func (UnimplementedCommentServiceServer) GetCommentById

func (UnimplementedCommentServiceServer) ListComment4Video

func (UnimplementedCommentServiceServer) RemoveComment

type UnimplementedFollowServiceServer

type UnimplementedFollowServiceServer struct{}

UnimplementedFollowServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedFollowServiceServer) AddFollow

func (UnimplementedFollowServiceServer) CountFollow

func (UnimplementedFollowServiceServer) IsFollowing

func (UnimplementedFollowServiceServer) ListFollowing

func (UnimplementedFollowServiceServer) RemoveFollow

type UnimplementedInterServiceServer

type UnimplementedInterServiceServer struct{}

UnimplementedInterServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInterServiceServer) CancelCollect

func (UnimplementedInterServiceServer) CancelLike

func (UnimplementedInterServiceServer) Collect

func (UnimplementedInterServiceServer) IncrReadCount

func (UnimplementedInterServiceServer) Like

func (UnimplementedInterServiceServer) Stat

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct{}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) GetUserByIdList

func (UnimplementedUserServiceServer) GetUserInfo

func (UnimplementedUserServiceServer) UpdateUserInfo

type UnimplementedVideoServiceServer

type UnimplementedVideoServiceServer struct{}

UnimplementedVideoServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVideoServiceServer) FeedShortVideo

func (UnimplementedVideoServiceServer) GetVideoById

func (UnimplementedVideoServiceServer) GetVideoByIdList

func (UnimplementedVideoServiceServer) ListPublishedVideo

func (UnimplementedVideoServiceServer) PublishVideo

type UnsafeCollectionServiceServer

type UnsafeCollectionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCollectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectionServiceServer will result in compilation errors.

type UnsafeCommentServiceServer

type UnsafeCommentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommentServiceServer will result in compilation errors.

type UnsafeFollowServiceServer

type UnsafeFollowServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFollowServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FollowServiceServer will result in compilation errors.

type UnsafeInterServiceServer

type UnsafeInterServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeInterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InterServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UnsafeVideoServiceServer

type UnsafeVideoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVideoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VideoServiceServer will result in compilation errors.

type UpdateCollectionRequest

type UpdateCollectionRequest struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCollectionRequest) Descriptor deprecated

func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateCollectionRequest) GetDescription

func (x *UpdateCollectionRequest) GetDescription() string

func (*UpdateCollectionRequest) GetId

func (x *UpdateCollectionRequest) GetId() int64

func (*UpdateCollectionRequest) GetName

func (x *UpdateCollectionRequest) GetName() string

func (*UpdateCollectionRequest) ProtoMessage

func (*UpdateCollectionRequest) ProtoMessage()

func (*UpdateCollectionRequest) ProtoReflect

func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message

func (*UpdateCollectionRequest) Reset

func (x *UpdateCollectionRequest) Reset()

func (*UpdateCollectionRequest) String

func (x *UpdateCollectionRequest) String() string

type UpdateCollectionResponse

type UpdateCollectionResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCollectionResponse) Descriptor deprecated

func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.

func (*UpdateCollectionResponse) GetMeta

func (x *UpdateCollectionResponse) GetMeta() *Metadata

func (*UpdateCollectionResponse) ProtoMessage

func (*UpdateCollectionResponse) ProtoMessage()

func (*UpdateCollectionResponse) ProtoReflect

func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message

func (*UpdateCollectionResponse) Reset

func (x *UpdateCollectionResponse) Reset()

func (*UpdateCollectionResponse) String

func (x *UpdateCollectionResponse) String() string

type UpdateUserImageType

type UpdateUserImageType int32
const (
	UpdateUserImageType_AVATAR           UpdateUserImageType = 0
	UpdateUserImageType_BACKGROUND_IMAGE UpdateUserImageType = 1
)

func (UpdateUserImageType) Descriptor

func (UpdateUserImageType) Enum

func (UpdateUserImageType) EnumDescriptor deprecated

func (UpdateUserImageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateUserImageType.Descriptor instead.

func (UpdateUserImageType) Number

func (UpdateUserImageType) String

func (x UpdateUserImageType) String() string

func (UpdateUserImageType) Type

type UpdateUserInfoRequest

type UpdateUserInfoRequest struct {
	UserId          int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Avatar          string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	BackgroundImage string `protobuf:"bytes,4,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"`
	Signature       string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoRequest) Descriptor deprecated

func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoRequest) GetAvatar

func (x *UpdateUserInfoRequest) GetAvatar() string

func (*UpdateUserInfoRequest) GetBackgroundImage

func (x *UpdateUserInfoRequest) GetBackgroundImage() string

func (*UpdateUserInfoRequest) GetName

func (x *UpdateUserInfoRequest) GetName() string

func (*UpdateUserInfoRequest) GetSignature

func (x *UpdateUserInfoRequest) GetSignature() string

func (*UpdateUserInfoRequest) GetUserId

func (x *UpdateUserInfoRequest) GetUserId() int64

func (*UpdateUserInfoRequest) ProtoMessage

func (*UpdateUserInfoRequest) ProtoMessage()

func (*UpdateUserInfoRequest) ProtoReflect

func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoRequest) Reset

func (x *UpdateUserInfoRequest) Reset()

func (*UpdateUserInfoRequest) String

func (x *UpdateUserInfoRequest) String() string

type UpdateUserInfoResponse

type UpdateUserInfoResponse struct {
	Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoResponse) Descriptor deprecated

func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoResponse) GetMeta

func (x *UpdateUserInfoResponse) GetMeta() *Metadata

func (*UpdateUserInfoResponse) ProtoMessage

func (*UpdateUserInfoResponse) ProtoMessage()

func (*UpdateUserInfoResponse) ProtoReflect

func (x *UpdateUserInfoResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoResponse) Reset

func (x *UpdateUserInfoResponse) Reset()

func (*UpdateUserInfoResponse) String

func (x *UpdateUserInfoResponse) String() string

type User

type User struct {
	Id              int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                 // 用户id
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                              // 用户名称
	Avatar          string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`                                          // 用户头像Url
	BackgroundImage string `protobuf:"bytes,4,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"` // 用户个人页顶部大图
	Signature       string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`                                    // 个人简介
	Mobile          string `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"`                                          // 手机号
	Email           string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`                                            // 邮箱
	FollowCount     int64  `protobuf:"varint,8,opt,name=follow_count,json=followCount,proto3" json:"follow_count,omitempty"`            // 关注总数
	FollowerCount   int64  `protobuf:"varint,9,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"`      // 粉丝总数
	TotalFavorited  int64  `protobuf:"varint,10,opt,name=total_favorited,json=totalFavorited,proto3" json:"total_favorited,omitempty"`  // 获赞数量
	WorkCount       int64  `protobuf:"varint,11,opt,name=work_count,json=workCount,proto3" json:"work_count,omitempty"`                 // 作品数量
	FavoriteCount   int64  `protobuf:"varint,12,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"`     // 点赞数量
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetBackgroundImage

func (x *User) GetBackgroundImage() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFavoriteCount

func (x *User) GetFavoriteCount() int64

func (*User) GetFollowCount

func (x *User) GetFollowCount() int64

func (*User) GetFollowerCount

func (x *User) GetFollowerCount() int64

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetMobile

func (x *User) GetMobile() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetSignature

func (x *User) GetSignature() string

func (*User) GetTotalFavorited

func (x *User) GetTotalFavorited() int64

func (*User) GetWorkCount

func (x *User) GetWorkCount() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserServiceClient

type UserServiceClient interface {
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error)
	UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...grpc.CallOption) (*UpdateUserInfoResponse, error)
	GetUserByIdList(ctx context.Context, in *GetUserByIdListRequest, opts ...grpc.CallOption) (*GetUserByIdListResponse, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceHTTPClient

type UserServiceHTTPClient interface {
	CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserResponse, err error)
	GetUserInfo(ctx context.Context, req *GetUserInfoRequest, opts ...http.CallOption) (rsp *GetUserInfoResponse, err error)
	UpdateUserInfo(ctx context.Context, req *UpdateUserInfoRequest, opts ...http.CallOption) (rsp *UpdateUserInfoResponse, err error)
}

func NewUserServiceHTTPClient

func NewUserServiceHTTPClient(client *http.Client) UserServiceHTTPClient

type UserServiceHTTPClientImpl

type UserServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*UserServiceHTTPClientImpl) CreateUser

func (*UserServiceHTTPClientImpl) GetUserInfo

func (*UserServiceHTTPClientImpl) UpdateUserInfo

type UserServiceServer

type UserServiceServer interface {
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
	UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error)
	GetUserByIdList(context.Context, *GetUserByIdListRequest) (*GetUserByIdListResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.

type Video

type Video struct {
	Id            int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                            // 视频唯一标识
	Title         string  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`                                       // 视频标题
	Author        *Author `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`                                     // 视频作者信息
	PlayUrl       string  `protobuf:"bytes,4,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"`                    // 视频播放地址
	CoverUrl      string  `protobuf:"bytes,5,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`                 // 视频封面地址
	FavoriteCount int64   `protobuf:"varint,6,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` // 视频的点赞总数
	CommentCount  int64   `protobuf:"varint,7,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"`    // 视频的评论总数
	CollectCount  int64   `protobuf:"varint,8,opt,name=collect_count,json=collectCount,proto3" json:"collect_count,omitempty"`    // 视频的收藏总数
	IsFavorite    int64   `protobuf:"varint,9,opt,name=is_favorite,json=isFavorite,proto3" json:"is_favorite,omitempty"`          // 0-未点赞,1-已点赞
	IsCollect     int64   `protobuf:"varint,10,opt,name=is_collect,json=isCollect,proto3" json:"is_collect,omitempty"`            // 0-未收藏,1-已收藏
	UploadTime    string  `protobuf:"bytes,11,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`          // 视频上传时间
	Description   string  `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`                          // 视频描述
	// contains filtered or unexported fields
}

func (*Video) Descriptor deprecated

func (*Video) Descriptor() ([]byte, []int)

Deprecated: Use Video.ProtoReflect.Descriptor instead.

func (*Video) GetAuthor

func (x *Video) GetAuthor() *Author

func (*Video) GetCollectCount

func (x *Video) GetCollectCount() int64

func (*Video) GetCommentCount

func (x *Video) GetCommentCount() int64

func (*Video) GetCoverUrl

func (x *Video) GetCoverUrl() string

func (*Video) GetDescription

func (x *Video) GetDescription() string

func (*Video) GetFavoriteCount

func (x *Video) GetFavoriteCount() int64

func (*Video) GetId

func (x *Video) GetId() int64

func (*Video) GetIsCollect

func (x *Video) GetIsCollect() int64

func (*Video) GetIsFavorite

func (x *Video) GetIsFavorite() int64

func (*Video) GetPlayUrl

func (x *Video) GetPlayUrl() string

func (*Video) GetTitle

func (x *Video) GetTitle() string

func (*Video) GetUploadTime

func (x *Video) GetUploadTime() string

func (*Video) ProtoMessage

func (*Video) ProtoMessage()

func (*Video) ProtoReflect

func (x *Video) ProtoReflect() protoreflect.Message

func (*Video) Reset

func (x *Video) Reset()

func (*Video) String

func (x *Video) String() string

type VideoServiceClient

type VideoServiceClient interface {
	FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...grpc.CallOption) (*FeedShortVideoResponse, error)
	GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...grpc.CallOption) (*GetVideoByIdResponse, error)
	PublishVideo(ctx context.Context, in *PublishVideoRequest, opts ...grpc.CallOption) (*PublishVideoResponse, error)
	ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...grpc.CallOption) (*ListPublishedVideoResponse, error)
	GetVideoByIdList(ctx context.Context, in *GetVideoByIdListRequest, opts ...grpc.CallOption) (*GetVideoByIdListResponse, error)
}

VideoServiceClient is the client API for VideoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type VideoServiceHTTPClient

type VideoServiceHTTPClient interface {
	FeedShortVideo(ctx context.Context, req *FeedShortVideoRequest, opts ...http.CallOption) (rsp *FeedShortVideoResponse, err error)
	GetVideoById(ctx context.Context, req *GetVideoByIdRequest, opts ...http.CallOption) (rsp *GetVideoByIdResponse, err error)
	ListPublishedVideo(ctx context.Context, req *ListPublishedVideoRequest, opts ...http.CallOption) (rsp *ListPublishedVideoResponse, err error)
	PublishVideo(ctx context.Context, req *PublishVideoRequest, opts ...http.CallOption) (rsp *PublishVideoResponse, err error)
}

func NewVideoServiceHTTPClient

func NewVideoServiceHTTPClient(client *http.Client) VideoServiceHTTPClient

type VideoServiceHTTPClientImpl

type VideoServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*VideoServiceHTTPClientImpl) FeedShortVideo

func (*VideoServiceHTTPClientImpl) GetVideoById

func (*VideoServiceHTTPClientImpl) ListPublishedVideo

func (*VideoServiceHTTPClientImpl) PublishVideo

type VideoServiceServer

type VideoServiceServer interface {
	FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error)
	GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error)
	PublishVideo(context.Context, *PublishVideoRequest) (*PublishVideoResponse, error)
	ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error)
	GetVideoByIdList(context.Context, *GetVideoByIdListRequest) (*GetVideoByIdListResponse, error)
	// contains filtered or unexported methods
}

VideoServiceServer is the server API for VideoService service. All implementations must embed UnimplementedVideoServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL