// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc             v4.25.1
// source: container_repo.proto

package proto

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7

const (
	ContainerRepositoryService_GetContainerState_FullMethodName      = "/ContainerRepositoryService/GetContainerState"
	ContainerRepositoryService_DeleteContainerState_FullMethodName   = "/ContainerRepositoryService/DeleteContainerState"
	ContainerRepositoryService_UpdateContainerStatus_FullMethodName  = "/ContainerRepositoryService/UpdateContainerStatus"
	ContainerRepositoryService_SetContainerExitCode_FullMethodName   = "/ContainerRepositoryService/SetContainerExitCode"
	ContainerRepositoryService_SetContainerAddress_FullMethodName    = "/ContainerRepositoryService/SetContainerAddress"
	ContainerRepositoryService_SetContainerAddressMap_FullMethodName = "/ContainerRepositoryService/SetContainerAddressMap"
	ContainerRepositoryService_GetContainerAddressMap_FullMethodName = "/ContainerRepositoryService/GetContainerAddressMap"
	ContainerRepositoryService_SetWorkerAddress_FullMethodName       = "/ContainerRepositoryService/SetWorkerAddress"
)

// ContainerRepositoryServiceClient is the client API for ContainerRepositoryService 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 ContainerRepositoryServiceClient interface {
	GetContainerState(ctx context.Context, in *GetContainerStateRequest, opts ...grpc.CallOption) (*GetContainerStateResponse, error)
	DeleteContainerState(ctx context.Context, in *DeleteContainerStateRequest, opts ...grpc.CallOption) (*DeleteContainerStateResponse, error)
	UpdateContainerStatus(ctx context.Context, in *UpdateContainerStatusRequest, opts ...grpc.CallOption) (*UpdateContainerStatusResponse, error)
	SetContainerExitCode(ctx context.Context, in *SetContainerExitCodeRequest, opts ...grpc.CallOption) (*SetContainerExitCodeResponse, error)
	SetContainerAddress(ctx context.Context, in *SetContainerAddressRequest, opts ...grpc.CallOption) (*SetContainerAddressResponse, error)
	SetContainerAddressMap(ctx context.Context, in *SetContainerAddressMapRequest, opts ...grpc.CallOption) (*SetContainerAddressMapResponse, error)
	GetContainerAddressMap(ctx context.Context, in *GetContainerAddressMapRequest, opts ...grpc.CallOption) (*GetContainerAddressMapResponse, error)
	SetWorkerAddress(ctx context.Context, in *SetWorkerAddressRequest, opts ...grpc.CallOption) (*SetWorkerAddressResponse, error)
}

type containerRepositoryServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewContainerRepositoryServiceClient(cc grpc.ClientConnInterface) ContainerRepositoryServiceClient {
	return &containerRepositoryServiceClient{cc}
}

func (c *containerRepositoryServiceClient) GetContainerState(ctx context.Context, in *GetContainerStateRequest, opts ...grpc.CallOption) (*GetContainerStateResponse, error) {
	out := new(GetContainerStateResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_GetContainerState_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) DeleteContainerState(ctx context.Context, in *DeleteContainerStateRequest, opts ...grpc.CallOption) (*DeleteContainerStateResponse, error) {
	out := new(DeleteContainerStateResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_DeleteContainerState_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) UpdateContainerStatus(ctx context.Context, in *UpdateContainerStatusRequest, opts ...grpc.CallOption) (*UpdateContainerStatusResponse, error) {
	out := new(UpdateContainerStatusResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_UpdateContainerStatus_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) SetContainerExitCode(ctx context.Context, in *SetContainerExitCodeRequest, opts ...grpc.CallOption) (*SetContainerExitCodeResponse, error) {
	out := new(SetContainerExitCodeResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_SetContainerExitCode_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) SetContainerAddress(ctx context.Context, in *SetContainerAddressRequest, opts ...grpc.CallOption) (*SetContainerAddressResponse, error) {
	out := new(SetContainerAddressResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_SetContainerAddress_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) SetContainerAddressMap(ctx context.Context, in *SetContainerAddressMapRequest, opts ...grpc.CallOption) (*SetContainerAddressMapResponse, error) {
	out := new(SetContainerAddressMapResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_SetContainerAddressMap_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) GetContainerAddressMap(ctx context.Context, in *GetContainerAddressMapRequest, opts ...grpc.CallOption) (*GetContainerAddressMapResponse, error) {
	out := new(GetContainerAddressMapResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_GetContainerAddressMap_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *containerRepositoryServiceClient) SetWorkerAddress(ctx context.Context, in *SetWorkerAddressRequest, opts ...grpc.CallOption) (*SetWorkerAddressResponse, error) {
	out := new(SetWorkerAddressResponse)
	err := c.cc.Invoke(ctx, ContainerRepositoryService_SetWorkerAddress_FullMethodName, in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ContainerRepositoryServiceServer is the server API for ContainerRepositoryService service.
// All implementations must embed UnimplementedContainerRepositoryServiceServer
// for forward compatibility
type ContainerRepositoryServiceServer interface {
	GetContainerState(context.Context, *GetContainerStateRequest) (*GetContainerStateResponse, error)
	DeleteContainerState(context.Context, *DeleteContainerStateRequest) (*DeleteContainerStateResponse, error)
	UpdateContainerStatus(context.Context, *UpdateContainerStatusRequest) (*UpdateContainerStatusResponse, error)
	SetContainerExitCode(context.Context, *SetContainerExitCodeRequest) (*SetContainerExitCodeResponse, error)
	SetContainerAddress(context.Context, *SetContainerAddressRequest) (*SetContainerAddressResponse, error)
	SetContainerAddressMap(context.Context, *SetContainerAddressMapRequest) (*SetContainerAddressMapResponse, error)
	GetContainerAddressMap(context.Context, *GetContainerAddressMapRequest) (*GetContainerAddressMapResponse, error)
	SetWorkerAddress(context.Context, *SetWorkerAddressRequest) (*SetWorkerAddressResponse, error)
	mustEmbedUnimplementedContainerRepositoryServiceServer()
}

// UnimplementedContainerRepositoryServiceServer must be embedded to have forward compatible implementations.
type UnimplementedContainerRepositoryServiceServer struct {
}

func (UnimplementedContainerRepositoryServiceServer) GetContainerState(context.Context, *GetContainerStateRequest) (*GetContainerStateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetContainerState not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) DeleteContainerState(context.Context, *DeleteContainerStateRequest) (*DeleteContainerStateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteContainerState not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) UpdateContainerStatus(context.Context, *UpdateContainerStatusRequest) (*UpdateContainerStatusResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateContainerStatus not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) SetContainerExitCode(context.Context, *SetContainerExitCodeRequest) (*SetContainerExitCodeResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetContainerExitCode not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) SetContainerAddress(context.Context, *SetContainerAddressRequest) (*SetContainerAddressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetContainerAddress not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) SetContainerAddressMap(context.Context, *SetContainerAddressMapRequest) (*SetContainerAddressMapResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetContainerAddressMap not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) GetContainerAddressMap(context.Context, *GetContainerAddressMapRequest) (*GetContainerAddressMapResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetContainerAddressMap not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) SetWorkerAddress(context.Context, *SetWorkerAddressRequest) (*SetWorkerAddressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetWorkerAddress not implemented")
}
func (UnimplementedContainerRepositoryServiceServer) mustEmbedUnimplementedContainerRepositoryServiceServer() {
}

// UnsafeContainerRepositoryServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ContainerRepositoryServiceServer will
// result in compilation errors.
type UnsafeContainerRepositoryServiceServer interface {
	mustEmbedUnimplementedContainerRepositoryServiceServer()
}

func RegisterContainerRepositoryServiceServer(s grpc.ServiceRegistrar, srv ContainerRepositoryServiceServer) {
	s.RegisterService(&ContainerRepositoryService_ServiceDesc, srv)
}

func _ContainerRepositoryService_GetContainerState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetContainerStateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).GetContainerState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_GetContainerState_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).GetContainerState(ctx, req.(*GetContainerStateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_DeleteContainerState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteContainerStateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).DeleteContainerState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_DeleteContainerState_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).DeleteContainerState(ctx, req.(*DeleteContainerStateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_UpdateContainerStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateContainerStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).UpdateContainerStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_UpdateContainerStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).UpdateContainerStatus(ctx, req.(*UpdateContainerStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_SetContainerExitCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetContainerExitCodeRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).SetContainerExitCode(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_SetContainerExitCode_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).SetContainerExitCode(ctx, req.(*SetContainerExitCodeRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_SetContainerAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetContainerAddressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).SetContainerAddress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_SetContainerAddress_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).SetContainerAddress(ctx, req.(*SetContainerAddressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_SetContainerAddressMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetContainerAddressMapRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).SetContainerAddressMap(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_SetContainerAddressMap_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).SetContainerAddressMap(ctx, req.(*SetContainerAddressMapRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_GetContainerAddressMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetContainerAddressMapRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).GetContainerAddressMap(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_GetContainerAddressMap_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).GetContainerAddressMap(ctx, req.(*GetContainerAddressMapRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ContainerRepositoryService_SetWorkerAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetWorkerAddressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ContainerRepositoryServiceServer).SetWorkerAddress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ContainerRepositoryService_SetWorkerAddress_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ContainerRepositoryServiceServer).SetWorkerAddress(ctx, req.(*SetWorkerAddressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// ContainerRepositoryService_ServiceDesc is the grpc.ServiceDesc for ContainerRepositoryService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ContainerRepositoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ContainerRepositoryService",
	HandlerType: (*ContainerRepositoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetContainerState",
			Handler:    _ContainerRepositoryService_GetContainerState_Handler,
		},
		{
			MethodName: "DeleteContainerState",
			Handler:    _ContainerRepositoryService_DeleteContainerState_Handler,
		},
		{
			MethodName: "UpdateContainerStatus",
			Handler:    _ContainerRepositoryService_UpdateContainerStatus_Handler,
		},
		{
			MethodName: "SetContainerExitCode",
			Handler:    _ContainerRepositoryService_SetContainerExitCode_Handler,
		},
		{
			MethodName: "SetContainerAddress",
			Handler:    _ContainerRepositoryService_SetContainerAddress_Handler,
		},
		{
			MethodName: "SetContainerAddressMap",
			Handler:    _ContainerRepositoryService_SetContainerAddressMap_Handler,
		},
		{
			MethodName: "GetContainerAddressMap",
			Handler:    _ContainerRepositoryService_GetContainerAddressMap_Handler,
		},
		{
			MethodName: "SetWorkerAddress",
			Handler:    _ContainerRepositoryService_SetWorkerAddress_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "container_repo.proto",
}
