code: public static LogEntry of(String logName, MonitoredResource resource, Payload<?> payload) {
      return newBuilder(payload).setLogName(logName).setResource(resource).build();
    }
docs: Creates a {@code LogEntry} object given the log name, the monitored resource and the entry
  payload.