Class AggregationResult (3.69.0)

public final class AggregationResult extends GeneratedMessageV3 implements AggregationResultOrBuilder

The aggregation result for a single metric.

Protobuf type google.cloud.aiplatform.v1beta1.AggregationResult

Static Fields

AGGREGATION_METRIC_FIELD_NUMBER

public static final int AGGREGATION_METRIC_FIELD_NUMBER
Field Value
Type Description
int

BLEU_METRIC_VALUE_FIELD_NUMBER

public static final int BLEU_METRIC_VALUE_FIELD_NUMBER
Field Value
Type Description
int

EXACT_MATCH_METRIC_VALUE_FIELD_NUMBER

public static final int EXACT_MATCH_METRIC_VALUE_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_METRIC_RESULT_FIELD_NUMBER

public static final int PAIRWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type Description
int

POINTWISE_METRIC_RESULT_FIELD_NUMBER

public static final int POINTWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type Description
int

ROUGE_METRIC_VALUE_FIELD_NUMBER

public static final int ROUGE_METRIC_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregationResult getDefaultInstance()
Returns
Type Description
AggregationResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AggregationResult.Builder newBuilder()
Returns
Type Description
AggregationResult.Builder

newBuilder(AggregationResult prototype)

public static AggregationResult.Builder newBuilder(AggregationResult prototype)
Parameter
Name Description
prototype AggregationResult
Returns
Type Description
AggregationResult.Builder

parseDelimitedFrom(InputStream input)

public static AggregationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AggregationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AggregationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AggregationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AggregationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AggregationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AggregationResult> parser()
Returns
Type Description
Parser<AggregationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAggregationMetric()

public Metric.AggregationMetric getAggregationMetric()

Aggregation metric.

.google.cloud.aiplatform.v1beta1.Metric.AggregationMetric aggregation_metric = 4;

Returns
Type Description
Metric.AggregationMetric

The aggregationMetric.

getAggregationMetricValue()

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.

getAggregationResultCase()

public AggregationResult.AggregationResultCase getAggregationResultCase()
Returns
Type Description
AggregationResult.AggregationResultCase

getBleuMetricValue()

public BleuMetricValue getBleuMetricValue()

Results for bleu metric.

.google.cloud.aiplatform.v1beta1.BleuMetricValue bleu_metric_value = 8;

Returns
Type Description
BleuMetricValue

The bleuMetricValue.

getBleuMetricValueOrBuilder()

public BleuMetricValueOrBuilder getBleuMetricValueOrBuilder()

Results for bleu metric.

.google.cloud.aiplatform.v1beta1.BleuMetricValue bleu_metric_value = 8;

Returns
Type Description
BleuMetricValueOrBuilder

getDefaultInstanceForType()

public AggregationResult getDefaultInstanceForType()
Returns
Type Description
AggregationResult

getExactMatchMetricValue()

public ExactMatchMetricValue getExactMatchMetricValue()

Results for exact match metric.

.google.cloud.aiplatform.v1beta1.ExactMatchMetricValue exact_match_metric_value = 7;

Returns
Type Description
ExactMatchMetricValue

The exactMatchMetricValue.

getExactMatchMetricValueOrBuilder()

public ExactMatchMetricValueOrBuilder getExactMatchMetricValueOrBuilder()

Results for exact match metric.

.google.cloud.aiplatform.v1beta1.ExactMatchMetricValue exact_match_metric_value = 7;

Returns
Type Description
ExactMatchMetricValueOrBuilder

getPairwiseMetricResult()

public PairwiseMetricResult getPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 6;

Returns
Type Description
PairwiseMetricResult

The pairwiseMetricResult.

getPairwiseMetricResultOrBuilder()

public PairwiseMetricResultOrBuilder getPairwiseMetricResultOrBuilder()

Result for pairwise metric.

.google.cloud.aiplatform.v1beta1.PairwiseMetricResult pairwise_metric_result = 6;

Returns
Type Description
PairwiseMetricResultOrBuilder

getParserForType()

public Parser<AggregationResult> getParserForType()
Returns
Type Description
Parser<AggregationResult>
Overrides

getPointwiseMetricResult()

public PointwiseMetricResult getPointwiseMetricResult()

Result for pointwise metric.

.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 5;

Returns
Type Description
PointwiseMetricResult

The pointwiseMetricResult.

getPointwiseMetricResultOrBuilder()

public PointwiseMetricResultOrBuilder getPointwiseMetricResultOrBuilder()

Result for pointwise metric.

.google.cloud.aiplatform.v1beta1.PointwiseMetricResult pointwise_metric_result = 5;

Returns
Type Description
PointwiseMetricResultOrBuilder

getRougeMetricValue()

public RougeMetricValue getRougeMetricValue()

Results for rouge metric.

.google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_value = 9;

Returns
Type Description
RougeMetricValue

The rougeMetricValue.

getRougeMetricValueOrBuilder()

public RougeMetricValueOrBuilder getRougeMetricValueOrBuilder()

Results for rouge metric.

.google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_value = 9;

Returns
Type Description
RougeMetricValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBleuMetricValue()

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.

hasExactMatchMetricValue()

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.

hasPairwiseMetricResult()

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.

hasPointwiseMetricResult()

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.

hasRougeMetricValue()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AggregationResult.Builder newBuilderForType()
Returns
Type Description
AggregationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AggregationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AggregationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AggregationResult.Builder toBuilder()
Returns
Type Description
AggregationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException