// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.4.0
// - protoc             (unknown)
// source: global/nextgen/v1/cluster.proto

package nextgenv1

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
)

// 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.62.0 or later.
const _ = grpc.SupportPackageIsVersion8

const (
	ClusterService_CreateCluster_FullMethodName                    = "/global.nextgen.v1.ClusterService/CreateCluster"
	ClusterService_ListClusters_FullMethodName                     = "/global.nextgen.v1.ClusterService/ListClusters"
	ClusterService_GetCluster_FullMethodName                       = "/global.nextgen.v1.ClusterService/GetCluster"
	ClusterService_UpdateCluster_FullMethodName                    = "/global.nextgen.v1.ClusterService/UpdateCluster"
	ClusterService_DeleteCluster_FullMethodName                    = "/global.nextgen.v1.ClusterService/DeleteCluster"
	ClusterService_ChangeClusterPasswd_FullMethodName              = "/global.nextgen.v1.ClusterService/ChangeClusterPasswd"
	ClusterService_ListClusterBackups_FullMethodName               = "/global.nextgen.v1.ClusterService/ListClusterBackups"
	ClusterService_DeleteClusterBackup_FullMethodName              = "/global.nextgen.v1.ClusterService/DeleteClusterBackup"
	ClusterService_RestoreCluster_FullMethodName                   = "/global.nextgen.v1.ClusterService/RestoreCluster"
	ClusterService_TestClassicBackupAccess_FullMethodName          = "/global.nextgen.v1.ClusterService/TestClassicBackupAccess"
	ClusterService_RestoreStatus_FullMethodName                    = "/global.nextgen.v1.ClusterService/RestoreStatus"
	ClusterService_StopRestoreCluster_FullMethodName               = "/global.nextgen.v1.ClusterService/StopRestoreCluster"
	ClusterService_GetBackupSetting_FullMethodName                 = "/global.nextgen.v1.ClusterService/GetBackupSetting"
	ClusterService_UpdateBackupSetting_FullMethodName              = "/global.nextgen.v1.ClusterService/UpdateBackupSetting"
	ClusterService_GetProviderRole_FullMethodName                  = "/global.nextgen.v1.ClusterService/GetProviderRole"
	ClusterService_GetCaCertificateDownloadUrl_FullMethodName      = "/global.nextgen.v1.ClusterService/GetCaCertificateDownloadUrl"
	ClusterService_UpdateClusterProject_FullMethodName             = "/global.nextgen.v1.ClusterService/UpdateClusterProject"
	ClusterService_UpdateClusterDualLayerEncryption_FullMethodName = "/global.nextgen.v1.ClusterService/UpdateClusterDualLayerEncryption"
	ClusterService_GetClusterEncryptionStatus_FullMethodName       = "/global.nextgen.v1.ClusterService/GetClusterEncryptionStatus"
	ClusterService_ForceUpdateGatewayIdentity_FullMethodName       = "/global.nextgen.v1.ClusterService/ForceUpdateGatewayIdentity"
	ClusterService_EstimatePrice_FullMethodName                    = "/global.nextgen.v1.ClusterService/EstimatePrice"
)

// ClusterServiceClient is the client API for ClusterService 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 ClusterServiceClient interface {
	CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	ChangeClusterPasswd(ctx context.Context, in *ChangeClusterPasswdRequest, opts ...grpc.CallOption) (*ChangeClusterPasswdResponse, error)
	// backup related apis, mirror to openapi
	ListClusterBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error)
	DeleteClusterBackup(ctx context.Context, in *DeleteClusterBackupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RestoreCluster(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	TestClassicBackupAccess(ctx context.Context, in *TestClassicBackupAccessRequest, opts ...grpc.CallOption) (*TestClassicBackupAccessResponse, error)
	RestoreStatus(ctx context.Context, in *RestoreStatusRequest, opts ...grpc.CallOption) (*RestoreStatusResponse, error)
	StopRestoreCluster(ctx context.Context, in *StopRestoreClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetBackupSetting(ctx context.Context, in *GetBackupSettingRequest, opts ...grpc.CallOption) (*BackupSetting, error)
	UpdateBackupSetting(ctx context.Context, in *UpdateBackupSettingRequest, opts ...grpc.CallOption) (*BackupSetting, error)
	// provider role
	GetProviderRole(ctx context.Context, in *GetProviderRoleRequest, opts ...grpc.CallOption) (*ProviderRole, error)
	GetCaCertificateDownloadUrl(ctx context.Context, in *GetCaCertificateDownloadUrlRequest, opts ...grpc.CallOption) (*CaCertificateDownloadUrl, error)
	UpdateClusterProject(ctx context.Context, in *UpdateClusterProjectRequest, opts ...grpc.CallOption) (*UpdateClusterProjectResponse, error)
	// Encryption change operations
	UpdateClusterDualLayerEncryption(ctx context.Context, in *UpdateClusterDualLayerEncryptionRequest, opts ...grpc.CallOption) (*UpdateClusterDualLayerEncryptionResponse, error)
	GetClusterEncryptionStatus(ctx context.Context, in *GetClusterEncryptionStatusRequest, opts ...grpc.CallOption) (*ClusterEncryptionStatus, error)
	// Gateway identity
	ForceUpdateGatewayIdentity(ctx context.Context, in *ForceUpdateGatewayIdentityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EstimatePrice(ctx context.Context, in *EstimatePriceRequest, opts ...grpc.CallOption) (*EstimatePriceResponse, error)
}

type clusterServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewClusterServiceClient(cc grpc.ClientConnInterface) ClusterServiceClient {
	return &clusterServiceClient{cc}
}

func (c *clusterServiceClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Cluster)
	err := c.cc.Invoke(ctx, ClusterService_CreateCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListClustersResponse)
	err := c.cc.Invoke(ctx, ClusterService_ListClusters_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Cluster)
	err := c.cc.Invoke(ctx, ClusterService_GetCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Cluster)
	err := c.cc.Invoke(ctx, ClusterService_UpdateCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(Cluster)
	err := c.cc.Invoke(ctx, ClusterService_DeleteCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) ChangeClusterPasswd(ctx context.Context, in *ChangeClusterPasswdRequest, opts ...grpc.CallOption) (*ChangeClusterPasswdResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ChangeClusterPasswdResponse)
	err := c.cc.Invoke(ctx, ClusterService_ChangeClusterPasswd_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) ListClusterBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListClusterBackupsResponse)
	err := c.cc.Invoke(ctx, ClusterService_ListClusterBackups_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) DeleteClusterBackup(ctx context.Context, in *DeleteClusterBackupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, ClusterService_DeleteClusterBackup_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) RestoreCluster(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, ClusterService_RestoreCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) TestClassicBackupAccess(ctx context.Context, in *TestClassicBackupAccessRequest, opts ...grpc.CallOption) (*TestClassicBackupAccessResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(TestClassicBackupAccessResponse)
	err := c.cc.Invoke(ctx, ClusterService_TestClassicBackupAccess_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) RestoreStatus(ctx context.Context, in *RestoreStatusRequest, opts ...grpc.CallOption) (*RestoreStatusResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(RestoreStatusResponse)
	err := c.cc.Invoke(ctx, ClusterService_RestoreStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) StopRestoreCluster(ctx context.Context, in *StopRestoreClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, ClusterService_StopRestoreCluster_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) GetBackupSetting(ctx context.Context, in *GetBackupSettingRequest, opts ...grpc.CallOption) (*BackupSetting, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(BackupSetting)
	err := c.cc.Invoke(ctx, ClusterService_GetBackupSetting_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) UpdateBackupSetting(ctx context.Context, in *UpdateBackupSettingRequest, opts ...grpc.CallOption) (*BackupSetting, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(BackupSetting)
	err := c.cc.Invoke(ctx, ClusterService_UpdateBackupSetting_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) GetProviderRole(ctx context.Context, in *GetProviderRoleRequest, opts ...grpc.CallOption) (*ProviderRole, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ProviderRole)
	err := c.cc.Invoke(ctx, ClusterService_GetProviderRole_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) GetCaCertificateDownloadUrl(ctx context.Context, in *GetCaCertificateDownloadUrlRequest, opts ...grpc.CallOption) (*CaCertificateDownloadUrl, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CaCertificateDownloadUrl)
	err := c.cc.Invoke(ctx, ClusterService_GetCaCertificateDownloadUrl_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) UpdateClusterProject(ctx context.Context, in *UpdateClusterProjectRequest, opts ...grpc.CallOption) (*UpdateClusterProjectResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(UpdateClusterProjectResponse)
	err := c.cc.Invoke(ctx, ClusterService_UpdateClusterProject_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) UpdateClusterDualLayerEncryption(ctx context.Context, in *UpdateClusterDualLayerEncryptionRequest, opts ...grpc.CallOption) (*UpdateClusterDualLayerEncryptionResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(UpdateClusterDualLayerEncryptionResponse)
	err := c.cc.Invoke(ctx, ClusterService_UpdateClusterDualLayerEncryption_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) GetClusterEncryptionStatus(ctx context.Context, in *GetClusterEncryptionStatusRequest, opts ...grpc.CallOption) (*ClusterEncryptionStatus, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ClusterEncryptionStatus)
	err := c.cc.Invoke(ctx, ClusterService_GetClusterEncryptionStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) ForceUpdateGatewayIdentity(ctx context.Context, in *ForceUpdateGatewayIdentityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, ClusterService_ForceUpdateGatewayIdentity_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *clusterServiceClient) EstimatePrice(ctx context.Context, in *EstimatePriceRequest, opts ...grpc.CallOption) (*EstimatePriceResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(EstimatePriceResponse)
	err := c.cc.Invoke(ctx, ClusterService_EstimatePrice_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ClusterServiceServer is the server API for ClusterService service.
// All implementations should embed UnimplementedClusterServiceServer
// for forward compatibility
type ClusterServiceServer interface {
	CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error)
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
	UpdateCluster(context.Context, *UpdateClusterRequest) (*Cluster, error)
	DeleteCluster(context.Context, *DeleteClusterRequest) (*Cluster, error)
	ChangeClusterPasswd(context.Context, *ChangeClusterPasswdRequest) (*ChangeClusterPasswdResponse, error)
	// backup related apis, mirror to openapi
	ListClusterBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
	DeleteClusterBackup(context.Context, *DeleteClusterBackupRequest) (*emptypb.Empty, error)
	RestoreCluster(context.Context, *RestoreClusterRequest) (*emptypb.Empty, error)
	TestClassicBackupAccess(context.Context, *TestClassicBackupAccessRequest) (*TestClassicBackupAccessResponse, error)
	RestoreStatus(context.Context, *RestoreStatusRequest) (*RestoreStatusResponse, error)
	StopRestoreCluster(context.Context, *StopRestoreClusterRequest) (*emptypb.Empty, error)
	GetBackupSetting(context.Context, *GetBackupSettingRequest) (*BackupSetting, error)
	UpdateBackupSetting(context.Context, *UpdateBackupSettingRequest) (*BackupSetting, error)
	// provider role
	GetProviderRole(context.Context, *GetProviderRoleRequest) (*ProviderRole, error)
	GetCaCertificateDownloadUrl(context.Context, *GetCaCertificateDownloadUrlRequest) (*CaCertificateDownloadUrl, error)
	UpdateClusterProject(context.Context, *UpdateClusterProjectRequest) (*UpdateClusterProjectResponse, error)
	// Encryption change operations
	UpdateClusterDualLayerEncryption(context.Context, *UpdateClusterDualLayerEncryptionRequest) (*UpdateClusterDualLayerEncryptionResponse, error)
	GetClusterEncryptionStatus(context.Context, *GetClusterEncryptionStatusRequest) (*ClusterEncryptionStatus, error)
	// Gateway identity
	ForceUpdateGatewayIdentity(context.Context, *ForceUpdateGatewayIdentityRequest) (*emptypb.Empty, error)
	EstimatePrice(context.Context, *EstimatePriceRequest) (*EstimatePriceResponse, error)
}

// UnimplementedClusterServiceServer should be embedded to have forward compatible implementations.
type UnimplementedClusterServiceServer struct {
}

func (UnimplementedClusterServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented")
}
func (UnimplementedClusterServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented")
}
func (UnimplementedClusterServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented")
}
func (UnimplementedClusterServiceServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*Cluster, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented")
}
func (UnimplementedClusterServiceServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*Cluster, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented")
}
func (UnimplementedClusterServiceServer) ChangeClusterPasswd(context.Context, *ChangeClusterPasswdRequest) (*ChangeClusterPasswdResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ChangeClusterPasswd not implemented")
}
func (UnimplementedClusterServiceServer) ListClusterBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListClusterBackups not implemented")
}
func (UnimplementedClusterServiceServer) DeleteClusterBackup(context.Context, *DeleteClusterBackupRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteClusterBackup not implemented")
}
func (UnimplementedClusterServiceServer) RestoreCluster(context.Context, *RestoreClusterRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method RestoreCluster not implemented")
}
func (UnimplementedClusterServiceServer) TestClassicBackupAccess(context.Context, *TestClassicBackupAccessRequest) (*TestClassicBackupAccessResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method TestClassicBackupAccess not implemented")
}
func (UnimplementedClusterServiceServer) RestoreStatus(context.Context, *RestoreStatusRequest) (*RestoreStatusResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method RestoreStatus not implemented")
}
func (UnimplementedClusterServiceServer) StopRestoreCluster(context.Context, *StopRestoreClusterRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method StopRestoreCluster not implemented")
}
func (UnimplementedClusterServiceServer) GetBackupSetting(context.Context, *GetBackupSettingRequest) (*BackupSetting, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetBackupSetting not implemented")
}
func (UnimplementedClusterServiceServer) UpdateBackupSetting(context.Context, *UpdateBackupSettingRequest) (*BackupSetting, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateBackupSetting not implemented")
}
func (UnimplementedClusterServiceServer) GetProviderRole(context.Context, *GetProviderRoleRequest) (*ProviderRole, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetProviderRole not implemented")
}
func (UnimplementedClusterServiceServer) GetCaCertificateDownloadUrl(context.Context, *GetCaCertificateDownloadUrlRequest) (*CaCertificateDownloadUrl, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetCaCertificateDownloadUrl not implemented")
}
func (UnimplementedClusterServiceServer) UpdateClusterProject(context.Context, *UpdateClusterProjectRequest) (*UpdateClusterProjectResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateClusterProject not implemented")
}
func (UnimplementedClusterServiceServer) UpdateClusterDualLayerEncryption(context.Context, *UpdateClusterDualLayerEncryptionRequest) (*UpdateClusterDualLayerEncryptionResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateClusterDualLayerEncryption not implemented")
}
func (UnimplementedClusterServiceServer) GetClusterEncryptionStatus(context.Context, *GetClusterEncryptionStatusRequest) (*ClusterEncryptionStatus, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetClusterEncryptionStatus not implemented")
}
func (UnimplementedClusterServiceServer) ForceUpdateGatewayIdentity(context.Context, *ForceUpdateGatewayIdentityRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ForceUpdateGatewayIdentity not implemented")
}
func (UnimplementedClusterServiceServer) EstimatePrice(context.Context, *EstimatePriceRequest) (*EstimatePriceResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method EstimatePrice not implemented")
}

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

func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer) {
	s.RegisterService(&ClusterService_ServiceDesc, srv)
}

func _ClusterService_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).CreateCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_CreateCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).CreateCluster(ctx, req.(*CreateClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListClustersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).ListClusters(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_ListClusters_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).ListClusters(ctx, req.(*ListClustersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).GetCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_GetCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).GetCluster(ctx, req.(*GetClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).UpdateCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_UpdateCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).UpdateCluster(ctx, req.(*UpdateClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).DeleteCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_DeleteCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).DeleteCluster(ctx, req.(*DeleteClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_ChangeClusterPasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ChangeClusterPasswdRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).ChangeClusterPasswd(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_ChangeClusterPasswd_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).ChangeClusterPasswd(ctx, req.(*ChangeClusterPasswdRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_ListClusterBackups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListClusterBackupsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).ListClusterBackups(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_ListClusterBackups_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).ListClusterBackups(ctx, req.(*ListClusterBackupsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_DeleteClusterBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteClusterBackupRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).DeleteClusterBackup(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_DeleteClusterBackup_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).DeleteClusterBackup(ctx, req.(*DeleteClusterBackupRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_RestoreCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RestoreClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).RestoreCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_RestoreCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).RestoreCluster(ctx, req.(*RestoreClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_TestClassicBackupAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(TestClassicBackupAccessRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).TestClassicBackupAccess(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_TestClassicBackupAccess_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).TestClassicBackupAccess(ctx, req.(*TestClassicBackupAccessRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_RestoreStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RestoreStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).RestoreStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_RestoreStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).RestoreStatus(ctx, req.(*RestoreStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_StopRestoreCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(StopRestoreClusterRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).StopRestoreCluster(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_StopRestoreCluster_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).StopRestoreCluster(ctx, req.(*StopRestoreClusterRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_GetBackupSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetBackupSettingRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).GetBackupSetting(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_GetBackupSetting_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).GetBackupSetting(ctx, req.(*GetBackupSettingRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_UpdateBackupSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateBackupSettingRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).UpdateBackupSetting(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_UpdateBackupSetting_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).UpdateBackupSetting(ctx, req.(*UpdateBackupSettingRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_GetProviderRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetProviderRoleRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).GetProviderRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_GetProviderRole_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).GetProviderRole(ctx, req.(*GetProviderRoleRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_GetCaCertificateDownloadUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetCaCertificateDownloadUrlRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).GetCaCertificateDownloadUrl(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_GetCaCertificateDownloadUrl_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).GetCaCertificateDownloadUrl(ctx, req.(*GetCaCertificateDownloadUrlRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_UpdateClusterProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateClusterProjectRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).UpdateClusterProject(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_UpdateClusterProject_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).UpdateClusterProject(ctx, req.(*UpdateClusterProjectRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_UpdateClusterDualLayerEncryption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateClusterDualLayerEncryptionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).UpdateClusterDualLayerEncryption(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_UpdateClusterDualLayerEncryption_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).UpdateClusterDualLayerEncryption(ctx, req.(*UpdateClusterDualLayerEncryptionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_GetClusterEncryptionStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetClusterEncryptionStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).GetClusterEncryptionStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_GetClusterEncryptionStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).GetClusterEncryptionStatus(ctx, req.(*GetClusterEncryptionStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_ForceUpdateGatewayIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ForceUpdateGatewayIdentityRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).ForceUpdateGatewayIdentity(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_ForceUpdateGatewayIdentity_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).ForceUpdateGatewayIdentity(ctx, req.(*ForceUpdateGatewayIdentityRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _ClusterService_EstimatePrice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(EstimatePriceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ClusterServiceServer).EstimatePrice(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: ClusterService_EstimatePrice_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ClusterServiceServer).EstimatePrice(ctx, req.(*EstimatePriceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "global.nextgen.v1.ClusterService",
	HandlerType: (*ClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCluster",
			Handler:    _ClusterService_CreateCluster_Handler,
		},
		{
			MethodName: "ListClusters",
			Handler:    _ClusterService_ListClusters_Handler,
		},
		{
			MethodName: "GetCluster",
			Handler:    _ClusterService_GetCluster_Handler,
		},
		{
			MethodName: "UpdateCluster",
			Handler:    _ClusterService_UpdateCluster_Handler,
		},
		{
			MethodName: "DeleteCluster",
			Handler:    _ClusterService_DeleteCluster_Handler,
		},
		{
			MethodName: "ChangeClusterPasswd",
			Handler:    _ClusterService_ChangeClusterPasswd_Handler,
		},
		{
			MethodName: "ListClusterBackups",
			Handler:    _ClusterService_ListClusterBackups_Handler,
		},
		{
			MethodName: "DeleteClusterBackup",
			Handler:    _ClusterService_DeleteClusterBackup_Handler,
		},
		{
			MethodName: "RestoreCluster",
			Handler:    _ClusterService_RestoreCluster_Handler,
		},
		{
			MethodName: "TestClassicBackupAccess",
			Handler:    _ClusterService_TestClassicBackupAccess_Handler,
		},
		{
			MethodName: "RestoreStatus",
			Handler:    _ClusterService_RestoreStatus_Handler,
		},
		{
			MethodName: "StopRestoreCluster",
			Handler:    _ClusterService_StopRestoreCluster_Handler,
		},
		{
			MethodName: "GetBackupSetting",
			Handler:    _ClusterService_GetBackupSetting_Handler,
		},
		{
			MethodName: "UpdateBackupSetting",
			Handler:    _ClusterService_UpdateBackupSetting_Handler,
		},
		{
			MethodName: "GetProviderRole",
			Handler:    _ClusterService_GetProviderRole_Handler,
		},
		{
			MethodName: "GetCaCertificateDownloadUrl",
			Handler:    _ClusterService_GetCaCertificateDownloadUrl_Handler,
		},
		{
			MethodName: "UpdateClusterProject",
			Handler:    _ClusterService_UpdateClusterProject_Handler,
		},
		{
			MethodName: "UpdateClusterDualLayerEncryption",
			Handler:    _ClusterService_UpdateClusterDualLayerEncryption_Handler,
		},
		{
			MethodName: "GetClusterEncryptionStatus",
			Handler:    _ClusterService_GetClusterEncryptionStatus_Handler,
		},
		{
			MethodName: "ForceUpdateGatewayIdentity",
			Handler:    _ClusterService_ForceUpdateGatewayIdentity_Handler,
		},
		{
			MethodName: "EstimatePrice",
			Handler:    _ClusterService_EstimatePrice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "global/nextgen/v1/cluster.proto",
}
