94 lines
2.9 KiB
Go
94 lines
2.9 KiB
Go
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-triple v1.0.8
|
|
// - protoc v4.22.0--rc2
|
|
// source: pb/container.proto
|
|
|
|
package container
|
|
|
|
import (
|
|
protocol "dubbo.apache.org/dubbo-go/v3/protocol"
|
|
grpc_go "github.com/dubbogo/grpc-go"
|
|
triple "github.com/dubbogo/triple/pkg/triple"
|
|
)
|
|
|
|
// 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_go.SupportPackageIsVersion7
|
|
|
|
// ContainerClient is the client API for Container 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 ContainerClient interface {
|
|
}
|
|
|
|
type containerClient struct {
|
|
cc *triple.TripleConn
|
|
}
|
|
|
|
type ContainerClientImpl struct {
|
|
}
|
|
|
|
func (c *ContainerClientImpl) GetDubboStub(cc *triple.TripleConn) ContainerClient {
|
|
return NewContainerClient(cc)
|
|
}
|
|
|
|
func (c *ContainerClientImpl) XXX_InterfaceName() string {
|
|
return "container.Container"
|
|
}
|
|
|
|
func NewContainerClient(cc *triple.TripleConn) ContainerClient {
|
|
return &containerClient{cc}
|
|
}
|
|
|
|
// ContainerServer is the server API for Container service.
|
|
// All implementations must embed UnimplementedContainerServer
|
|
// for forward compatibility
|
|
type ContainerServer interface {
|
|
mustEmbedUnimplementedContainerServer()
|
|
}
|
|
|
|
// UnimplementedContainerServer must be embedded to have forward compatible implementations.
|
|
type UnimplementedContainerServer struct {
|
|
proxyImpl protocol.Invoker
|
|
}
|
|
|
|
func (s *UnimplementedContainerServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
s.proxyImpl = impl
|
|
}
|
|
|
|
func (s *UnimplementedContainerServer) XXX_GetProxyImpl() protocol.Invoker {
|
|
return s.proxyImpl
|
|
}
|
|
|
|
func (s *UnimplementedContainerServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
|
return &Container_ServiceDesc
|
|
}
|
|
func (s *UnimplementedContainerServer) XXX_InterfaceName() string {
|
|
return "container.Container"
|
|
}
|
|
|
|
func (UnimplementedContainerServer) mustEmbedUnimplementedContainerServer() {}
|
|
|
|
// UnsafeContainerServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to ContainerServer will
|
|
// result in compilation errors.
|
|
type UnsafeContainerServer interface {
|
|
mustEmbedUnimplementedContainerServer()
|
|
}
|
|
|
|
func RegisterContainerServer(s grpc_go.ServiceRegistrar, srv ContainerServer) {
|
|
s.RegisterService(&Container_ServiceDesc, srv)
|
|
}
|
|
|
|
// Container_ServiceDesc is the grpc_go.ServiceDesc for Container service.
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var Container_ServiceDesc = grpc_go.ServiceDesc{
|
|
ServiceName: "container.Container",
|
|
HandlerType: (*ContainerServer)(nil),
|
|
Methods: []grpc_go.MethodDesc{},
|
|
Streams: []grpc_go.StreamDesc{},
|
|
Metadata: "pb/container.proto",
|
|
}
|