bilibili-backup/app/service/main/up/api/v1/api.pb.go
2019-04-22 02:59:20 +00:00

822 lines
30 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: app/service/main/up/api/v1/api.proto
/*
Package v1 is a generated protocol buffer package.
It is generated from these files:
app/service/main/up/api/v1/api.proto
app/service/main/up/api/v1/archive.proto
app/service/main/up/api/v1/reply.proto
app/service/main/up/api/v1/request.proto
app/service/main/up/api/v1/sign_up.proto
app/service/main/up/api/v1/up.proto
It has these top-level messages:
AidPubTime
NoReply
UpArcsReply
UpsArcsReply
UpCountReply
UpsCountReply
UpAidPubTimeReply
UpsAidPubTimeReply
UpActivityListReply
UpGroupsReply
UpSpecialReply
UpsSpecialReply
UpGroupMidsReply
UpAttrReply
UpBaseStatReply
UpSwitchReply
HighAllyUpsReply
NoArgReq
UpArcsReq
UpsArcsReq
UpCountReq
UpsCountReq
UpCacheReq
UpListByLastIDReq
UpSpecialReq
UpsSpecialReq
UpGroupMidsReq
UpAttrReq
UpStatReq
UpSwitchReq
HighAllyUpsReq
SignUp
UpActivity
UpGroup
UpSpecial
*/
package v1
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import _ "github.com/gogo/protobuf/gogoproto"
import context "golang.org/x/net/context"
import grpc "google.golang.org/grpc"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Up service
type UpClient interface {
// UpArcs 单个up主的稿件列表接口-带分页
UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error)
// UpsArcs 多个up主的稿件列表接口-带分页
UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error)
// UpCount 单个up主的稿件计数接口
UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error)
// UpsCount 多个up主的稿件计数接口
UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error)
// UpsAidPubTime archives 多个up主的按分布时间排序的aid接口
UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error)
// AddUpPassedCacheByStaff staff变更 新增或者变更up主稿件信息列表和计数接口
AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
// AddUpPassedCache archive变更 新增或者变更up主稿件信息列表和计数接口
AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
// DelUpPassedCacheByStaff staff解除 删除的up主稿件信息列表和计数接口
DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
// DelUpPassedCache archive失效 删除的up主稿件信息列表和计数接口
DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
// UpInfoActivitys 获取up主活跃度列表信息的接口
UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error)
// UpSpecial 获取up主的特殊属性信息的接口
UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error)
// UpsSpecial 获取多个up主的特殊属性信息的接口
UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error)
// UpGroups 获取所有特殊用户组信息的接口
UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error)
// UpGroupMids 获取某个分组下的所有用户的接口
UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error)
// UpAttr 获取up主身份属性的接口
UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error)
// UpBaseStats 获取up主基础计数的接口
UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error)
// SetUpSwitch 设置up主关注弹窗开关的接口
SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error)
// UpSwitch 获取up主关注弹窗开关的接口
UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error)
// GetHighAllyUps 获取高能联盟up主列表
GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error)
}
type upClient struct {
cc *grpc.ClientConn
}
func NewUpClient(cc *grpc.ClientConn) UpClient {
return &upClient{cc}
}
func (c *upClient) UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error) {
out := new(UpArcsReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpArcs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error) {
out := new(UpsArcsReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpsArcs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error) {
out := new(UpCountReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpCount", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error) {
out := new(UpsCountReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpsCount", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error) {
out := new(UpsAidPubTimeReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpsAidPubTime", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
out := new(NoReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/AddUpPassedCacheByStaff", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
out := new(NoReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/AddUpPassedCache", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
out := new(NoReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/DelUpPassedCacheByStaff", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
out := new(NoReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/DelUpPassedCache", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error) {
out := new(UpActivityListReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpInfoActivitys", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error) {
out := new(UpSpecialReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpSpecial", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error) {
out := new(UpsSpecialReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpsSpecial", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error) {
out := new(UpGroupsReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpGroups", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error) {
out := new(UpGroupMidsReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpGroupMids", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error) {
out := new(UpAttrReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpAttr", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error) {
out := new(UpBaseStatReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpBaseStats", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error) {
out := new(NoReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/SetUpSwitch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error) {
out := new(UpSwitchReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/UpSwitch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *upClient) GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error) {
out := new(HighAllyUpsReply)
err := grpc.Invoke(ctx, "/archive.service.up.v1.Up/GetHighAllyUps", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Up service
type UpServer interface {
// UpArcs 单个up主的稿件列表接口-带分页
UpArcs(context.Context, *UpArcsReq) (*UpArcsReply, error)
// UpsArcs 多个up主的稿件列表接口-带分页
UpsArcs(context.Context, *UpsArcsReq) (*UpsArcsReply, error)
// UpCount 单个up主的稿件计数接口
UpCount(context.Context, *UpCountReq) (*UpCountReply, error)
// UpsCount 多个up主的稿件计数接口
UpsCount(context.Context, *UpsCountReq) (*UpsCountReply, error)
// UpsAidPubTime archives 多个up主的按分布时间排序的aid接口
UpsAidPubTime(context.Context, *UpsArcsReq) (*UpsAidPubTimeReply, error)
// AddUpPassedCacheByStaff staff变更 新增或者变更up主稿件信息列表和计数接口
AddUpPassedCacheByStaff(context.Context, *UpCacheReq) (*NoReply, error)
// AddUpPassedCache archive变更 新增或者变更up主稿件信息列表和计数接口
AddUpPassedCache(context.Context, *UpCacheReq) (*NoReply, error)
// DelUpPassedCacheByStaff staff解除 删除的up主稿件信息列表和计数接口
DelUpPassedCacheByStaff(context.Context, *UpCacheReq) (*NoReply, error)
// DelUpPassedCache archive失效 删除的up主稿件信息列表和计数接口
DelUpPassedCache(context.Context, *UpCacheReq) (*NoReply, error)
// UpInfoActivitys 获取up主活跃度列表信息的接口
UpInfoActivitys(context.Context, *UpListByLastIDReq) (*UpActivityListReply, error)
// UpSpecial 获取up主的特殊属性信息的接口
UpSpecial(context.Context, *UpSpecialReq) (*UpSpecialReply, error)
// UpsSpecial 获取多个up主的特殊属性信息的接口
UpsSpecial(context.Context, *UpsSpecialReq) (*UpsSpecialReply, error)
// UpGroups 获取所有特殊用户组信息的接口
UpGroups(context.Context, *NoArgReq) (*UpGroupsReply, error)
// UpGroupMids 获取某个分组下的所有用户的接口
UpGroupMids(context.Context, *UpGroupMidsReq) (*UpGroupMidsReply, error)
// UpAttr 获取up主身份属性的接口
UpAttr(context.Context, *UpAttrReq) (*UpAttrReply, error)
// UpBaseStats 获取up主基础计数的接口
UpBaseStats(context.Context, *UpStatReq) (*UpBaseStatReply, error)
// SetUpSwitch 设置up主关注弹窗开关的接口
SetUpSwitch(context.Context, *UpSwitchReq) (*NoReply, error)
// UpSwitch 获取up主关注弹窗开关的接口
UpSwitch(context.Context, *UpSwitchReq) (*UpSwitchReply, error)
// GetHighAllyUps 获取高能联盟up主列表
GetHighAllyUps(context.Context, *HighAllyUpsReq) (*HighAllyUpsReply, error)
}
func RegisterUpServer(s *grpc.Server, srv UpServer) {
s.RegisterService(&_Up_serviceDesc, srv)
}
func _Up_UpArcs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpArcsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpArcs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpArcs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpArcs(ctx, req.(*UpArcsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpsArcs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpsArcsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpsArcs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpsArcs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpsArcs(ctx, req.(*UpsArcsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpCountReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpCount(ctx, req.(*UpCountReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpsCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpsCountReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpsCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpsCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpsCount(ctx, req.(*UpsCountReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpsAidPubTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpsArcsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpsAidPubTime(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpsAidPubTime",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpsAidPubTime(ctx, req.(*UpsArcsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_AddUpPassedCacheByStaff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpCacheReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).AddUpPassedCacheByStaff(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/AddUpPassedCacheByStaff",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).AddUpPassedCacheByStaff(ctx, req.(*UpCacheReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_AddUpPassedCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpCacheReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).AddUpPassedCache(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/AddUpPassedCache",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).AddUpPassedCache(ctx, req.(*UpCacheReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_DelUpPassedCacheByStaff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpCacheReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).DelUpPassedCacheByStaff(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/DelUpPassedCacheByStaff",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).DelUpPassedCacheByStaff(ctx, req.(*UpCacheReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_DelUpPassedCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpCacheReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).DelUpPassedCache(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/DelUpPassedCache",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).DelUpPassedCache(ctx, req.(*UpCacheReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpInfoActivitys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpListByLastIDReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpInfoActivitys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpInfoActivitys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpInfoActivitys(ctx, req.(*UpListByLastIDReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpSpecial_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpSpecialReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpSpecial(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpSpecial",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpSpecial(ctx, req.(*UpSpecialReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpsSpecial_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpsSpecialReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpsSpecial(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpsSpecial",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpsSpecial(ctx, req.(*UpsSpecialReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NoArgReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpGroups(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpGroups",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpGroups(ctx, req.(*NoArgReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpGroupMids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpGroupMidsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpGroupMids(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpGroupMids",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpGroupMids(ctx, req.(*UpGroupMidsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpAttr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpAttrReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpAttr(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpAttr",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpAttr(ctx, req.(*UpAttrReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpBaseStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpStatReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpBaseStats(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpBaseStats",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpBaseStats(ctx, req.(*UpStatReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_SetUpSwitch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpSwitchReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).SetUpSwitch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/SetUpSwitch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).SetUpSwitch(ctx, req.(*UpSwitchReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_UpSwitch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpSwitchReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).UpSwitch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/UpSwitch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).UpSwitch(ctx, req.(*UpSwitchReq))
}
return interceptor(ctx, in, info, handler)
}
func _Up_GetHighAllyUps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(HighAllyUpsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UpServer).GetHighAllyUps(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/archive.service.up.v1.Up/GetHighAllyUps",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UpServer).GetHighAllyUps(ctx, req.(*HighAllyUpsReq))
}
return interceptor(ctx, in, info, handler)
}
var _Up_serviceDesc = grpc.ServiceDesc{
ServiceName: "archive.service.up.v1.Up",
HandlerType: (*UpServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "UpArcs",
Handler: _Up_UpArcs_Handler,
},
{
MethodName: "UpsArcs",
Handler: _Up_UpsArcs_Handler,
},
{
MethodName: "UpCount",
Handler: _Up_UpCount_Handler,
},
{
MethodName: "UpsCount",
Handler: _Up_UpsCount_Handler,
},
{
MethodName: "UpsAidPubTime",
Handler: _Up_UpsAidPubTime_Handler,
},
{
MethodName: "AddUpPassedCacheByStaff",
Handler: _Up_AddUpPassedCacheByStaff_Handler,
},
{
MethodName: "AddUpPassedCache",
Handler: _Up_AddUpPassedCache_Handler,
},
{
MethodName: "DelUpPassedCacheByStaff",
Handler: _Up_DelUpPassedCacheByStaff_Handler,
},
{
MethodName: "DelUpPassedCache",
Handler: _Up_DelUpPassedCache_Handler,
},
{
MethodName: "UpInfoActivitys",
Handler: _Up_UpInfoActivitys_Handler,
},
{
MethodName: "UpSpecial",
Handler: _Up_UpSpecial_Handler,
},
{
MethodName: "UpsSpecial",
Handler: _Up_UpsSpecial_Handler,
},
{
MethodName: "UpGroups",
Handler: _Up_UpGroups_Handler,
},
{
MethodName: "UpGroupMids",
Handler: _Up_UpGroupMids_Handler,
},
{
MethodName: "UpAttr",
Handler: _Up_UpAttr_Handler,
},
{
MethodName: "UpBaseStats",
Handler: _Up_UpBaseStats_Handler,
},
{
MethodName: "SetUpSwitch",
Handler: _Up_SetUpSwitch_Handler,
},
{
MethodName: "UpSwitch",
Handler: _Up_UpSwitch_Handler,
},
{
MethodName: "GetHighAllyUps",
Handler: _Up_GetHighAllyUps_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "app/service/main/up/api/v1/api.proto",
}
func init() { proto.RegisterFile("app/service/main/up/api/v1/api.proto", fileDescriptorApi) }
var fileDescriptorApi = []byte{
// 613 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xd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