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