Class MetricSummary.Builder
-
- All Implemented Interfaces:
public final class MetricSummary.BuilderA builder for MetricSummary.
-
-
Method Summary
-
-
Method Detail
-
improvements
final MetricSummary.Builder improvements(Long improvements)
Number of improvements in the metric
-
improvements
final MetricSummary.Builder improvements(JsonField<Long> improvements)
Sets Builder.improvements to an arbitrary JSON value.
You should usually call Builder.improvements with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metric
final MetricSummary.Builder metric(Double metric)
Average metric across all examples
-
metric
final MetricSummary.Builder metric(JsonField<Double> metric)
Sets Builder.metric to an arbitrary JSON value.
You should usually call Builder.metric with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final MetricSummary.Builder name(String name)
Name of the metric
-
name
final MetricSummary.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
regressions
final MetricSummary.Builder regressions(Long regressions)
Number of regressions in the metric
-
regressions
final MetricSummary.Builder regressions(JsonField<Long> regressions)
Sets Builder.regressions to an arbitrary JSON value.
You should usually call Builder.regressions with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unit
final MetricSummary.Builder unit(String unit)
Unit label for the metric
-
unit
final MetricSummary.Builder unit(JsonField<String> unit)
Sets Builder.unit to an arbitrary JSON value.
You should usually call Builder.unit with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
diff
final MetricSummary.Builder diff(Double diff)
Difference in metric between the current and comparison experiment
-
diff
final MetricSummary.Builder diff(JsonField<Double> diff)
Sets Builder.diff to an arbitrary JSON value.
You should usually call Builder.diff with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MetricSummary.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MetricSummary.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MetricSummary.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MetricSummary.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MetricSummary.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MetricSummary build()
Returns an immutable instance of MetricSummary.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.improvements() .metric() .name() .regressions() .unit()
-
-
-
-