public Builder setUserAgent(@Nullable String userAgent) {
      headers.setUserAgent(userAgent);
      return this;
    }
Sets the {@code User-Agent} header.

@param userAgent the user agent
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java