public final class AggregationResult extends GeneratedMessage implements AggregationResultOrBuilder
The aggregation result for a single metric.
Protobuf type google.cloud.aiplatform.v1beta1.AggregationResult
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AggregationResult.Builder newBuilderForType()
protected AggregationResult.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public AggregationResult.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides