types/src/main/java/com/google/common/html/types/SafeHtmlBuilder.java
public SafeHtmlBuilder setHref(TrustedResourceUrl value) {
    hrefValueContract = AttributeContract.TRUSTED_RESOURCE_URL;
    return setAttribute("href", value.getTrustedResourceUrlString());
  }
public SafeHtmlBuilder setHref(TrustedResourceUrl value) {
    hrefValueContract = AttributeContract.TRUSTED_RESOURCE_URL;
    return setAttribute("href", value.getTrustedResourceUrlString());
  }
Sets the {@code href} attribute for this element.