|
|
|
@ -110,6 +110,7 @@ type BundleClient interface {
|
|
|
|
MetricsVideoSubmitExport(ctx context.Context, in *MetricsVideoSubmitExportReq, opts ...grpc_go.CallOption) (*MetricsVideoSubmitExportResp, common.ErrorWithAttachment)
|
|
|
|
MetricsVideoSubmitExport(ctx context.Context, in *MetricsVideoSubmitExportReq, opts ...grpc_go.CallOption) (*MetricsVideoSubmitExportResp, common.ErrorWithAttachment)
|
|
|
|
GetPendingTaskLayout(ctx context.Context, in *GetPendingTaskLayoutReq, opts ...grpc_go.CallOption) (*GetPendingTaskLayoutResp, common.ErrorWithAttachment)
|
|
|
|
GetPendingTaskLayout(ctx context.Context, in *GetPendingTaskLayoutReq, opts ...grpc_go.CallOption) (*GetPendingTaskLayoutResp, common.ErrorWithAttachment)
|
|
|
|
SetPendingTaskLayout(ctx context.Context, in *SetPendingTaskLayoutReq, opts ...grpc_go.CallOption) (*SetPendingTaskLayoutResp, common.ErrorWithAttachment)
|
|
|
|
SetPendingTaskLayout(ctx context.Context, in *SetPendingTaskLayoutReq, opts ...grpc_go.CallOption) (*SetPendingTaskLayoutResp, common.ErrorWithAttachment)
|
|
|
|
|
|
|
|
GetPendingUploadBreakdown(ctx context.Context, in *PendingUploadBreakdownRequest, opts ...grpc_go.CallOption) (*PendingUploadBreakdownResponse, common.ErrorWithAttachment)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type bundleClient struct {
|
|
|
|
type bundleClient struct {
|
|
|
|
@ -192,6 +193,7 @@ type BundleClientImpl struct {
|
|
|
|
MetricsVideoSubmitExport func(ctx context.Context, in *MetricsVideoSubmitExportReq) (*MetricsVideoSubmitExportResp, error)
|
|
|
|
MetricsVideoSubmitExport func(ctx context.Context, in *MetricsVideoSubmitExportReq) (*MetricsVideoSubmitExportResp, error)
|
|
|
|
GetPendingTaskLayout func(ctx context.Context, in *GetPendingTaskLayoutReq) (*GetPendingTaskLayoutResp, error)
|
|
|
|
GetPendingTaskLayout func(ctx context.Context, in *GetPendingTaskLayoutReq) (*GetPendingTaskLayoutResp, error)
|
|
|
|
SetPendingTaskLayout func(ctx context.Context, in *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error)
|
|
|
|
SetPendingTaskLayout func(ctx context.Context, in *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error)
|
|
|
|
|
|
|
|
GetPendingUploadBreakdown func(ctx context.Context, in *PendingUploadBreakdownRequest) (*PendingUploadBreakdownResponse, error)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (c *BundleClientImpl) GetDubboStub(cc *triple.TripleConn) BundleClient {
|
|
|
|
func (c *BundleClientImpl) GetDubboStub(cc *triple.TripleConn) BundleClient {
|
|
|
|
@ -656,6 +658,12 @@ func (c *bundleClient) SetPendingTaskLayout(ctx context.Context, in *SetPendingT
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SetPendingTaskLayout", in, out)
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SetPendingTaskLayout", in, out)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (c *bundleClient) GetPendingUploadBreakdown(ctx context.Context, in *PendingUploadBreakdownRequest, opts ...grpc_go.CallOption) (*PendingUploadBreakdownResponse, common.ErrorWithAttachment) {
|
|
|
|
|
|
|
|
out := new(PendingUploadBreakdownResponse)
|
|
|
|
|
|
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
|
|
|
|
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetPendingUploadBreakdown", in, out)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// BundleServer is the server API for Bundle service.
|
|
|
|
// BundleServer is the server API for Bundle service.
|
|
|
|
// All implementations must embed UnimplementedBundleServer
|
|
|
|
// All implementations must embed UnimplementedBundleServer
|
|
|
|
// for forward compatibility
|
|
|
|
// for forward compatibility
|
|
|
|
@ -742,6 +750,7 @@ type BundleServer interface {
|
|
|
|
MetricsVideoSubmitExport(context.Context, *MetricsVideoSubmitExportReq) (*MetricsVideoSubmitExportResp, error)
|
|
|
|
MetricsVideoSubmitExport(context.Context, *MetricsVideoSubmitExportReq) (*MetricsVideoSubmitExportResp, error)
|
|
|
|
GetPendingTaskLayout(context.Context, *GetPendingTaskLayoutReq) (*GetPendingTaskLayoutResp, error)
|
|
|
|
GetPendingTaskLayout(context.Context, *GetPendingTaskLayoutReq) (*GetPendingTaskLayoutResp, error)
|
|
|
|
SetPendingTaskLayout(context.Context, *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error)
|
|
|
|
SetPendingTaskLayout(context.Context, *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error)
|
|
|
|
|
|
|
|
GetPendingUploadBreakdown(context.Context, *PendingUploadBreakdownRequest) (*PendingUploadBreakdownResponse, error)
|
|
|
|
mustEmbedUnimplementedBundleServer()
|
|
|
|
mustEmbedUnimplementedBundleServer()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -975,6 +984,9 @@ func (UnimplementedBundleServer) GetPendingTaskLayout(context.Context, *GetPendi
|
|
|
|
func (UnimplementedBundleServer) SetPendingTaskLayout(context.Context, *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error) {
|
|
|
|
func (UnimplementedBundleServer) SetPendingTaskLayout(context.Context, *SetPendingTaskLayoutReq) (*SetPendingTaskLayoutResp, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetPendingTaskLayout not implemented")
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetPendingTaskLayout not implemented")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (UnimplementedBundleServer) GetPendingUploadBreakdown(context.Context, *PendingUploadBreakdownRequest) (*PendingUploadBreakdownResponse, error) {
|
|
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPendingUploadBreakdown not implemented")
|
|
|
|
|
|
|
|
}
|
|
|
|
func (s *UnimplementedBundleServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
|
|
func (s *UnimplementedBundleServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
|
|
s.proxyImpl = impl
|
|
|
|
s.proxyImpl = impl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -3178,6 +3190,35 @@ func _Bundle_SetPendingTaskLayout_Handler(srv interface{}, ctx context.Context,
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _Bundle_GetPendingUploadBreakdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
|
|
in := new(PendingUploadBreakdownRequest)
|
|
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
|
|
|
|
|
|
args := []interface{}{}
|
|
|
|
|
|
|
|
args = append(args, in)
|
|
|
|
|
|
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
|
|
|
|
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
|
|
|
|
|
|
for k, v := range md {
|
|
|
|
|
|
|
|
invAttachment[k] = v
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
invo := invocation.NewRPCInvocation("GetPendingUploadBreakdown", args, invAttachment)
|
|
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
info := &grpc_go.UnaryServerInfo{
|
|
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
|
|
|
|
|
|
return result, result.Error()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Bundle_ServiceDesc is the grpc_go.ServiceDesc for Bundle service.
|
|
|
|
// Bundle_ServiceDesc is the grpc_go.ServiceDesc for Bundle service.
|
|
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
|
|
@ -3485,6 +3526,10 @@ var Bundle_ServiceDesc = grpc_go.ServiceDesc{
|
|
|
|
MethodName: "SetPendingTaskLayout",
|
|
|
|
MethodName: "SetPendingTaskLayout",
|
|
|
|
Handler: _Bundle_SetPendingTaskLayout_Handler,
|
|
|
|
Handler: _Bundle_SetPendingTaskLayout_Handler,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
MethodName: "GetPendingUploadBreakdown",
|
|
|
|
|
|
|
|
Handler: _Bundle_GetPendingUploadBreakdown_Handler,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc_go.StreamDesc{},
|
|
|
|
Streams: []grpc_go.StreamDesc{},
|
|
|
|
Metadata: "pb/bundle.proto",
|
|
|
|
Metadata: "pb/bundle.proto",
|
|
|
|
|