code: public static Payload create(ByteString byteString, String contentType) {
      return new PayloadImpl(byteString, Optional.ofNullable(contentType));
    }
docs: Create a {@link Payload} from ByteString with the
  specified contentType