code: func GetLoadBalancerAnnotationType(service *v1.Service) (LoadBalancerType, bool) {
  	v := LoadBalancerType("")
  	if service.Spec.Type != v1.ServiceTypeLoadBalancer {
  		return v, false
  	}
  
  	l, ok := service.Annotations[ServiceAnnotationLoadBalancerType]
  	v = LoadBalancerType(l)
  	if !ok {
  		return v, false
  	}
  
  	switch v {
  	case LBTypeInternal, deprecatedTypeInternalLowerCase:
  		return LBTypeInternal, true
  	default:
  		return v, false
  	}
  }
docs: // GetLoadBalancerAnnotationType returns the type of GCP load balancer which should be assembled.