Class AggregationResult.Builder
-
- All Implemented Interfaces:
public abstract class AggregationResult.BuilderBuilder for AggregationResult.
-
-
Constructor Summary
Constructors Constructor Description AggregationResult.Builder()
-
Method Summary
Modifier and Type Method Description abstract AggregationResult.BuilderaggregationMetric(AggregationMetric aggregationMetric)Setter for aggregationMetric. AggregationResult.BuilderclearAggregationMetric()Clears the value of aggregationMetric field. AggregationResult.BuilderaggregationMetric(AggregationMetric.Known knownType)Setter for aggregationMetric given a known enum. AggregationResult.BuilderaggregationMetric(String aggregationMetric)Setter for aggregationMetric given a string. abstract AggregationResult.BuilderbleuMetricValue(BleuMetricValue bleuMetricValue)Setter for bleuMetricValue. AggregationResult.BuilderbleuMetricValue(BleuMetricValue.Builder bleuMetricValueBuilder)Setter for bleuMetricValue builder. AggregationResult.BuilderclearBleuMetricValue()Clears the value of bleuMetricValue field. abstract AggregationResult.BuildercustomCodeExecutionResult(CustomCodeExecutionResult customCodeExecutionResult)Setter for customCodeExecutionResult. AggregationResult.BuildercustomCodeExecutionResult(CustomCodeExecutionResult.Builder customCodeExecutionResultBuilder)Setter for customCodeExecutionResult builder. AggregationResult.BuilderclearCustomCodeExecutionResult()Clears the value of customCodeExecutionResult field. abstract AggregationResult.BuilderexactMatchMetricValue(ExactMatchMetricValue exactMatchMetricValue)Setter for exactMatchMetricValue. AggregationResult.BuilderexactMatchMetricValue(ExactMatchMetricValue.Builder exactMatchMetricValueBuilder)Setter for exactMatchMetricValue builder. AggregationResult.BuilderclearExactMatchMetricValue()Clears the value of exactMatchMetricValue field. abstract AggregationResult.BuilderpairwiseMetricResult(PairwiseMetricResult pairwiseMetricResult)Setter for pairwiseMetricResult. AggregationResult.BuilderpairwiseMetricResult(PairwiseMetricResult.Builder pairwiseMetricResultBuilder)Setter for pairwiseMetricResult builder. AggregationResult.BuilderclearPairwiseMetricResult()Clears the value of pairwiseMetricResult field. abstract AggregationResult.BuilderpointwiseMetricResult(PointwiseMetricResult pointwiseMetricResult)Setter for pointwiseMetricResult. AggregationResult.BuilderpointwiseMetricResult(PointwiseMetricResult.Builder pointwiseMetricResultBuilder)Setter for pointwiseMetricResult builder. AggregationResult.BuilderclearPointwiseMetricResult()Clears the value of pointwiseMetricResult field. abstract AggregationResult.BuilderrougeMetricValue(RougeMetricValue rougeMetricValue)Setter for rougeMetricValue. AggregationResult.BuilderrougeMetricValue(RougeMetricValue.Builder rougeMetricValueBuilder)Setter for rougeMetricValue builder. AggregationResult.BuilderclearRougeMetricValue()Clears the value of rougeMetricValue field. abstract AggregationResultbuild()-
-
Method Detail
-
aggregationMetric
abstract AggregationResult.Builder aggregationMetric(AggregationMetric aggregationMetric)
Setter for aggregationMetric.
aggregationMetric: Aggregation metric.
-
clearAggregationMetric
@CanIgnoreReturnValue() AggregationResult.Builder clearAggregationMetric()
Clears the value of aggregationMetric field.
-
aggregationMetric
@CanIgnoreReturnValue() AggregationResult.Builder aggregationMetric(AggregationMetric.Known knownType)
Setter for aggregationMetric given a known enum.
aggregationMetric: Aggregation metric.
-
aggregationMetric
@CanIgnoreReturnValue() AggregationResult.Builder aggregationMetric(String aggregationMetric)
Setter for aggregationMetric given a string.
aggregationMetric: Aggregation metric.
-
bleuMetricValue
abstract AggregationResult.Builder bleuMetricValue(BleuMetricValue bleuMetricValue)
Setter for bleuMetricValue.
bleuMetricValue: Results for bleu metric.
-
bleuMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder bleuMetricValue(BleuMetricValue.Builder bleuMetricValueBuilder)
Setter for bleuMetricValue builder.
bleuMetricValue: Results for bleu metric.
-
clearBleuMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder clearBleuMetricValue()
Clears the value of bleuMetricValue field.
-
customCodeExecutionResult
abstract AggregationResult.Builder customCodeExecutionResult(CustomCodeExecutionResult customCodeExecutionResult)
Setter for customCodeExecutionResult.
customCodeExecutionResult: Result for code execution metric.
-
customCodeExecutionResult
@CanIgnoreReturnValue() AggregationResult.Builder customCodeExecutionResult(CustomCodeExecutionResult.Builder customCodeExecutionResultBuilder)
Setter for customCodeExecutionResult builder.
customCodeExecutionResult: Result for code execution metric.
-
clearCustomCodeExecutionResult
@CanIgnoreReturnValue() AggregationResult.Builder clearCustomCodeExecutionResult()
Clears the value of customCodeExecutionResult field.
-
exactMatchMetricValue
abstract AggregationResult.Builder exactMatchMetricValue(ExactMatchMetricValue exactMatchMetricValue)
Setter for exactMatchMetricValue.
exactMatchMetricValue: Results for exact match metric.
-
exactMatchMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder exactMatchMetricValue(ExactMatchMetricValue.Builder exactMatchMetricValueBuilder)
Setter for exactMatchMetricValue builder.
exactMatchMetricValue: Results for exact match metric.
-
clearExactMatchMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder clearExactMatchMetricValue()
Clears the value of exactMatchMetricValue field.
-
pairwiseMetricResult
abstract AggregationResult.Builder pairwiseMetricResult(PairwiseMetricResult pairwiseMetricResult)
Setter for pairwiseMetricResult.
pairwiseMetricResult: Result for pairwise metric.
-
pairwiseMetricResult
@CanIgnoreReturnValue() AggregationResult.Builder pairwiseMetricResult(PairwiseMetricResult.Builder pairwiseMetricResultBuilder)
Setter for pairwiseMetricResult builder.
pairwiseMetricResult: Result for pairwise metric.
-
clearPairwiseMetricResult
@CanIgnoreReturnValue() AggregationResult.Builder clearPairwiseMetricResult()
Clears the value of pairwiseMetricResult field.
-
pointwiseMetricResult
abstract AggregationResult.Builder pointwiseMetricResult(PointwiseMetricResult pointwiseMetricResult)
Setter for pointwiseMetricResult.
pointwiseMetricResult: Result for pointwise metric.
-
pointwiseMetricResult
@CanIgnoreReturnValue() AggregationResult.Builder pointwiseMetricResult(PointwiseMetricResult.Builder pointwiseMetricResultBuilder)
Setter for pointwiseMetricResult builder.
pointwiseMetricResult: Result for pointwise metric.
-
clearPointwiseMetricResult
@CanIgnoreReturnValue() AggregationResult.Builder clearPointwiseMetricResult()
Clears the value of pointwiseMetricResult field.
-
rougeMetricValue
abstract AggregationResult.Builder rougeMetricValue(RougeMetricValue rougeMetricValue)
Setter for rougeMetricValue.
rougeMetricValue: Results for rouge metric.
-
rougeMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder rougeMetricValue(RougeMetricValue.Builder rougeMetricValueBuilder)
Setter for rougeMetricValue builder.
rougeMetricValue: Results for rouge metric.
-
clearRougeMetricValue
@CanIgnoreReturnValue() AggregationResult.Builder clearRougeMetricValue()
Clears the value of rougeMetricValue field.
-
build
abstract AggregationResult build()
-
-
-
-