code: private static String getScheme(Service service, Annotation... qualifiers) {
          for (Annotation q : qualifiers) {
              if (q instanceof Scheme) {
                  return ((Scheme) q).value();
              }
          }
  
          if (service.getMetadata() != null && service.getMetadata().getAnnotations() != null) {
              String s = service.getMetadata().getAnnotations().get(SERVICE_SCHEME);
              if (s != null && s.isEmpty()) {
                  return s;
              }
          }
  
          return DEFAULT_SCHEME;
      }
docs: Find the scheme to use to connect to the service.
  Uses java annotations first and if not found, uses kubernetes annotations on the service object.
  
  @param service
  The target service.
  @param qualifiers
  The set of qualifiers.
  
  @return Returns the resolved scheme of 'http' as a fallback.