/** * Sets the value of the 'tags' field. * Tags associated with the metrics. * @param value The value of 'tags'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setTags(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[0], value); this.tags = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'timestamp' field. * Time at which metrics were reported. * @param value The value of 'timestamp'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setTimestamp(long value) { validate(fields()[1], value); this.timestamp = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'metrics' field. * Array of metrics in this report. * @param value The value of 'metrics'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setMetrics(java.util.List<org.apache.gobblin.metrics.Metric> value) { validate(fields()[2], value); this.metrics = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'metrics' field. * Array of metrics in this report. * @param value The value of 'metrics'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setMetrics(java.util.List<org.apache.gobblin.metrics.Metric> value) { validate(fields()[2], value); this.metrics = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'timestamp' field. * Time at which metrics were reported. * @param value The value of 'timestamp'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setTimestamp(long value) { validate(fields()[1], value); this.timestamp = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'tags' field. * Tags associated with the metrics. * @param value The value of 'tags'. * @return This builder. */ public org.apache.gobblin.metrics.MetricReport.Builder setTags(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[0], value); this.tags = value; fieldSetFlags()[0] = true; return this; }