Class AggregationResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.AggregationResult
All Implemented Interfaces:
AggregationResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AggregationResult extends com.google.protobuf.GeneratedMessage implements AggregationResultOrBuilder
 The aggregation result for a single metric.
 
Protobuf type google.cloud.aiplatform.v1.AggregationResult
See Also:
  • Field Details

    • POINTWISE_METRIC_RESULT_FIELD_NUMBER

      public static final int POINTWISE_METRIC_RESULT_FIELD_NUMBER
      See Also:
    • PAIRWISE_METRIC_RESULT_FIELD_NUMBER

      public static final int PAIRWISE_METRIC_RESULT_FIELD_NUMBER
      See Also:
    • EXACT_MATCH_METRIC_VALUE_FIELD_NUMBER

      public static final int EXACT_MATCH_METRIC_VALUE_FIELD_NUMBER
      See Also:
    • BLEU_METRIC_VALUE_FIELD_NUMBER

      public static final int BLEU_METRIC_VALUE_FIELD_NUMBER
      See Also:
    • ROUGE_METRIC_VALUE_FIELD_NUMBER

      public static final int ROUGE_METRIC_VALUE_FIELD_NUMBER
      See Also:
    • AGGREGATION_METRIC_FIELD_NUMBER

      public static final int AGGREGATION_METRIC_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAggregationResultCase

      public AggregationResult.AggregationResultCase getAggregationResultCase()
      Specified by:
      getAggregationResultCase in interface AggregationResultOrBuilder
    • hasPointwiseMetricResult

      public boolean hasPointwiseMetricResult()
       Result for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 5;
      Specified by:
      hasPointwiseMetricResult in interface AggregationResultOrBuilder
      Returns:
      Whether the pointwiseMetricResult field is set.
    • getPointwiseMetricResult

      public PointwiseMetricResult getPointwiseMetricResult()
       Result for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 5;
      Specified by:
      getPointwiseMetricResult in interface AggregationResultOrBuilder
      Returns:
      The pointwiseMetricResult.
    • getPointwiseMetricResultOrBuilder

      public PointwiseMetricResultOrBuilder getPointwiseMetricResultOrBuilder()
       Result for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 5;
      Specified by:
      getPointwiseMetricResultOrBuilder in interface AggregationResultOrBuilder
    • hasPairwiseMetricResult

      public boolean hasPairwiseMetricResult()
       Result for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 6;
      Specified by:
      hasPairwiseMetricResult in interface AggregationResultOrBuilder
      Returns:
      Whether the pairwiseMetricResult field is set.
    • getPairwiseMetricResult

      public PairwiseMetricResult getPairwiseMetricResult()
       Result for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 6;
      Specified by:
      getPairwiseMetricResult in interface AggregationResultOrBuilder
      Returns:
      The pairwiseMetricResult.
    • getPairwiseMetricResultOrBuilder

      public PairwiseMetricResultOrBuilder getPairwiseMetricResultOrBuilder()
       Result for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 6;
      Specified by:
      getPairwiseMetricResultOrBuilder in interface AggregationResultOrBuilder
    • hasExactMatchMetricValue

      public boolean hasExactMatchMetricValue()
       Results for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_value = 7;
      Specified by:
      hasExactMatchMetricValue in interface AggregationResultOrBuilder
      Returns:
      Whether the exactMatchMetricValue field is set.
    • getExactMatchMetricValue

      public ExactMatchMetricValue getExactMatchMetricValue()
       Results for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_value = 7;
      Specified by:
      getExactMatchMetricValue in interface AggregationResultOrBuilder
      Returns:
      The exactMatchMetricValue.
    • getExactMatchMetricValueOrBuilder

      public ExactMatchMetricValueOrBuilder getExactMatchMetricValueOrBuilder()
       Results for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_value = 7;
      Specified by:
      getExactMatchMetricValueOrBuilder in interface AggregationResultOrBuilder
    • hasBleuMetricValue

      public boolean hasBleuMetricValue()
       Results for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_value = 8;
      Specified by:
      hasBleuMetricValue in interface AggregationResultOrBuilder
      Returns:
      Whether the bleuMetricValue field is set.
    • getBleuMetricValue

      public BleuMetricValue getBleuMetricValue()
       Results for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_value = 8;
      Specified by:
      getBleuMetricValue in interface AggregationResultOrBuilder
      Returns:
      The bleuMetricValue.
    • getBleuMetricValueOrBuilder

      public BleuMetricValueOrBuilder getBleuMetricValueOrBuilder()
       Results for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_value = 8;
      Specified by:
      getBleuMetricValueOrBuilder in interface AggregationResultOrBuilder
    • hasRougeMetricValue

      public boolean hasRougeMetricValue()
       Results for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeMetricValue rouge_metric_value = 9;
      Specified by:
      hasRougeMetricValue in interface AggregationResultOrBuilder
      Returns:
      Whether the rougeMetricValue field is set.
    • getRougeMetricValue

      public RougeMetricValue getRougeMetricValue()
       Results for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeMetricValue rouge_metric_value = 9;
      Specified by:
      getRougeMetricValue in interface AggregationResultOrBuilder
      Returns:
      The rougeMetricValue.
    • getRougeMetricValueOrBuilder

      public RougeMetricValueOrBuilder getRougeMetricValueOrBuilder()
       Results for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeMetricValue rouge_metric_value = 9;
      Specified by:
      getRougeMetricValueOrBuilder in interface AggregationResultOrBuilder
    • getAggregationMetricValue

      public int getAggregationMetricValue()
       Aggregation metric.
       
      .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metric = 4;
      Specified by:
      getAggregationMetricValue in interface AggregationResultOrBuilder
      Returns:
      The enum numeric value on the wire for aggregationMetric.
    • getAggregationMetric

      public Metric.AggregationMetric getAggregationMetric()
       Aggregation metric.
       
      .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metric = 4;
      Specified by:
      getAggregationMetric in interface AggregationResultOrBuilder
      Returns:
      The aggregationMetric.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AggregationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AggregationResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AggregationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AggregationResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AggregationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AggregationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AggregationResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AggregationResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AggregationResult.Builder newBuilder()
    • newBuilder

      public static AggregationResult.Builder newBuilder(AggregationResult prototype)
    • toBuilder

      public AggregationResult.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AggregationResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AggregationResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AggregationResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<AggregationResult> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AggregationResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder