Code generated by protoc-gen-go-grpc. DO NOT EDIT.

package grpc_lb_v1

import (
	grpc 
	codes 
	status 
)
This is a compile-time assertion to ensure that this generated file is compatible with the grpc package it is being compiled against.
LoadBalancerService is the service API for LoadBalancer service. Fields should be assigned to their respective handler implementations only before RegisterLoadBalancerService is called. Any unassigned fields will result in the handler for that method returning an Unimplemented error.
Bidirectional rpc to get a list of servers.
	BalanceLoad func(LoadBalancer_BalanceLoadServer) error
}

func ( *LoadBalancerService) ( interface{},  grpc.ServerStream) error {
	if .BalanceLoad == nil {
		return status.Errorf(codes.Unimplemented, "method BalanceLoad not implemented")
	}
	return .BalanceLoad(&loadBalancerBalanceLoadServer{})
}
RegisterLoadBalancerService registers a service implementation with a gRPC server.
func ( grpc.ServiceRegistrar,  *LoadBalancerService) {
	 := grpc.ServiceDesc{
		ServiceName: "grpc.lb.v1.LoadBalancer",
		Methods:     []grpc.MethodDesc{},
		Streams: []grpc.StreamDesc{
			{
				StreamName:    "BalanceLoad",
				Handler:       .balanceLoad,
				ServerStreams: true,
				ClientStreams: true,
			},
		},
		Metadata: "grpc/lb/v1/load_balancer.proto",
	}

	.RegisterService(&, nil)
}
NewLoadBalancerService creates a new LoadBalancerService containing the implemented methods of the LoadBalancer service in s. Any unimplemented methods will result in the gRPC server returning an UNIMPLEMENTED status to the client. This includes situations where the method handler is misspelled or has the wrong signature. For this reason, this function should be used with great care and is not recommended to be used by most users.
func ( interface{}) *LoadBalancerService {
	 := &LoadBalancerService{}
	if ,  := .(interface {
		(LoadBalancer_BalanceLoadServer) error
	});  {
		.BalanceLoad = .
	}
	return 
}
UnstableLoadBalancerService is the service API for LoadBalancer service. New methods may be added to this interface if they are added to the service definition, which is not a backward-compatible change. For this reason, use of this type is not recommended.
Bidirectional rpc to get a list of servers.