Send feedback
Class AggregationResult (3.69.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class AggregationResult extends GeneratedMessageV3 implements AggregationResultOrBuilder
The aggregation result for a single metric.
Protobuf type google.cloud.aiplatform.v1beta1.AggregationResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int AGGREGATION_METRIC_FIELD_NUMBER
Field Value
Type
Description
int
public static final int BLEU_METRIC_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int EXACT_MATCH_METRIC_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PAIRWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int POINTWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ROUGE_METRIC_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AggregationResult getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AggregationResult . Builder newBuilder ()
public static AggregationResult . Builder newBuilder ( AggregationResult prototype )
public static AggregationResult parseDelimitedFrom ( InputStream input )
public static AggregationResult parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AggregationResult parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AggregationResult parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AggregationResult parseFrom ( ByteString data )
public static AggregationResult parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AggregationResult parseFrom ( CodedInputStream input )
public static AggregationResult parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AggregationResult parseFrom ( InputStream input )
public static AggregationResult parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AggregationResult parseFrom ( ByteBuffer data )
public static AggregationResult parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AggregationResult> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Metric . AggregationMetric getAggregationMetric ()
Aggregation metric.
.google.cloud.aiplatform.v1beta1.Metric.AggregationMetric aggregation_metric = 4;
public int getAggregationMetricValue ()
Aggregation metric.
.google.cloud.aiplatform.v1beta1.Metric.AggregationMetric aggregation_metric = 4;
Returns
Type
Description
int
The enum numeric value on the wire for aggregationMetric.
public AggregationResult . AggregationResultCase getAggregationResultCase ()
public BleuMetricValue getBleuMetricValue ()
Results for bleu metric.
.google.cloud.aiplatform.v1beta1.BleuMetricValue bleu_metric_value = 8;
public BleuMetricValueOrBuilder getBleuMetricValueOrBuilder ()
Results for bleu metric.
.google.cloud.aiplatform.v1beta1.BleuMetricValue bleu_metric_value = 8;
public AggregationResult getDefaultInstanceForType ()
public ExactMatchMetricValue getExactMatchMetricValue ()
Results for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchMetricValue exact_match_metric_value = 7;
public ExactMatchMetricValueOrBuilder getExactMatchMetricValueOrBuilder ()
Results for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchMetricValue exact_match_metric_value = 7;
public PairwiseMetricResult getPairwiseMetricResult ()
Result for pairwise metric.
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 6;
public PairwiseMetricResultOrBuilder getPairwiseMetricResultOrBuilder ()
Result for pairwise metric.
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 6;
public Parser<AggregationResult> getParserForType ()
Overrides
public PointwiseMetricResult getPointwiseMetricResult ()
Result for pointwise metric.
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 5;
public PointwiseMetricResultOrBuilder getPointwiseMetricResultOrBuilder ()
Result for pointwise metric.
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 5;
public RougeMetricValue getRougeMetricValue ()
Results for rouge metric.
.google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_value = 9;
public RougeMetricValueOrBuilder getRougeMetricValueOrBuilder ()
Results for rouge metric.
.google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_value = 9;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasBleuMetricValue ()
Results for bleu metric.
.google.cloud.aiplatform.v1beta1.BleuMetricValue bleu_metric_value = 8;
Returns
Type
Description
boolean
Whether the bleuMetricValue field is set.
public boolean hasExactMatchMetricValue ()
Results for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchMetricValue exact_match_metric_value = 7;
Returns
Type
Description
boolean
Whether the exactMatchMetricValue field is set.
public boolean hasPairwiseMetricResult ()
Result for pairwise metric.
.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 6;
Returns
Type
Description
boolean
Whether the pairwiseMetricResult field is set.
public boolean hasPointwiseMetricResult ()
Result for pointwise metric.
.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 5;
Returns
Type
Description
boolean
Whether the pointwiseMetricResult field is set.
public boolean hasRougeMetricValue ()
Results for rouge metric.
.google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_value = 9;
Returns
Type
Description
boolean
Whether the rougeMetricValue field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AggregationResult . Builder newBuilderForType ()
protected AggregationResult . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AggregationResult . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[],[]]