/** * Sets the value of the 'metricValue' field. * The value of this metric. * @param value The value of 'metricValue'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setMetricValue(double value) { validate(fields()[3], value); this.metricValue = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'tags' field. * Tags associated with the metrics in the form key:value. * @param value The value of 'tags'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setTags(java.util.List<java.lang.String> value) { validate(fields()[0], value); this.tags = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'metricName' field. * The name of this metric. * @param value The value of 'metricName'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setMetricName(java.lang.String value) { validate(fields()[2], value); this.metricName = 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.FlatGobblinMetric.Builder setTimestamp(long value) { validate(fields()[1], value); this.timestamp = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'metricName' field. * The name of this metric. * @param value The value of 'metricName'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setMetricName(java.lang.String value) { validate(fields()[2], value); this.metricName = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'tags' field. * Tags associated with the metrics in the form key:value. * @param value The value of 'tags'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setTags(java.util.List<java.lang.String> value) { validate(fields()[0], value); this.tags = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'metricValue' field. * The value of this metric. * @param value The value of 'metricValue'. * @return This builder. */ public org.apache.gobblin.metrics.FlatGobblinMetric.Builder setMetricValue(double value) { validate(fields()[3], value); this.metricValue = value; fieldSetFlags()[3] = 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.FlatGobblinMetric.Builder setTimestamp(long value) { validate(fields()[1], value); this.timestamp = value; fieldSetFlags()[1] = true; return this; }