blueflood-core/src/main/java/com/rackspacecloud/blueflood/inputs/formats/AggregatedPayload.java
@AssertTrue(message="At least one of the aggregated metrics(gauges, counters, timers, sets) are expected")
    private boolean isValid() {
        boolean isGaugePresent = gauges != null && gauges.length > 0;
        boolean isCounterPresent = counters != null && counters.length > 0;
        boolean isTimerPresent = timers != null && timers.length > 0;
        boolean isSetPresent = sets != null && sets.length > 0;

        return (isGaugePresent || isCounterPresent || isTimerPresent || isSetPresent);
    }
@AssertTrue(message="At least one of the aggregated metrics(gauges, counters, timers, sets) are expected")
    private boolean isValid() {
        boolean isGaugePresent = gauges != null && gauges.length > 0;
        boolean isCounterPresent = counters != null && counters.length > 0;
        boolean isTimerPresent = timers != null && timers.length > 0;
        boolean isSetPresent = sets != null && sets.length > 0;

        return (isGaugePresent || isCounterPresent || isTimerPresent || isSetPresent);
    }
This method is invoked by the validator automatically