Interface MetricOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Metric, Metric.Builder

@Generated public interface MetricOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPredefinedMetricSpec

      boolean hasPredefinedMetricSpec()
       The spec for a pre-defined metric.
       
      .google.cloud.aiplatform.v1.PredefinedMetricSpec predefined_metric_spec = 8;
      Returns:
      Whether the predefinedMetricSpec field is set.
    • getPredefinedMetricSpec

      PredefinedMetricSpec getPredefinedMetricSpec()
       The spec for a pre-defined metric.
       
      .google.cloud.aiplatform.v1.PredefinedMetricSpec predefined_metric_spec = 8;
      Returns:
      The predefinedMetricSpec.
    • getPredefinedMetricSpecOrBuilder

      PredefinedMetricSpecOrBuilder getPredefinedMetricSpecOrBuilder()
       The spec for a pre-defined metric.
       
      .google.cloud.aiplatform.v1.PredefinedMetricSpec predefined_metric_spec = 8;
    • hasComputationBasedMetricSpec

      boolean hasComputationBasedMetricSpec()
       Spec for a computation based metric.
       
      .google.cloud.aiplatform.v1.ComputationBasedMetricSpec computation_based_metric_spec = 9;
      Returns:
      Whether the computationBasedMetricSpec field is set.
    • getComputationBasedMetricSpec

      ComputationBasedMetricSpec getComputationBasedMetricSpec()
       Spec for a computation based metric.
       
      .google.cloud.aiplatform.v1.ComputationBasedMetricSpec computation_based_metric_spec = 9;
      Returns:
      The computationBasedMetricSpec.
    • getComputationBasedMetricSpecOrBuilder

      ComputationBasedMetricSpecOrBuilder getComputationBasedMetricSpecOrBuilder()
       Spec for a computation based metric.
       
      .google.cloud.aiplatform.v1.ComputationBasedMetricSpec computation_based_metric_spec = 9;
    • hasLlmBasedMetricSpec

      boolean hasLlmBasedMetricSpec()
       Spec for an LLM based metric.
       
      .google.cloud.aiplatform.v1.LLMBasedMetricSpec llm_based_metric_spec = 10;
      Returns:
      Whether the llmBasedMetricSpec field is set.
    • getLlmBasedMetricSpec

      LLMBasedMetricSpec getLlmBasedMetricSpec()
       Spec for an LLM based metric.
       
      .google.cloud.aiplatform.v1.LLMBasedMetricSpec llm_based_metric_spec = 10;
      Returns:
      The llmBasedMetricSpec.
    • getLlmBasedMetricSpecOrBuilder

      LLMBasedMetricSpecOrBuilder getLlmBasedMetricSpecOrBuilder()
       Spec for an LLM based metric.
       
      .google.cloud.aiplatform.v1.LLMBasedMetricSpec llm_based_metric_spec = 10;
    • hasPointwiseMetricSpec

      boolean hasPointwiseMetricSpec()
       Spec for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricSpec pointwise_metric_spec = 2;
      Returns:
      Whether the pointwiseMetricSpec field is set.
    • getPointwiseMetricSpec

      PointwiseMetricSpec getPointwiseMetricSpec()
       Spec for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricSpec pointwise_metric_spec = 2;
      Returns:
      The pointwiseMetricSpec.
    • getPointwiseMetricSpecOrBuilder

      PointwiseMetricSpecOrBuilder getPointwiseMetricSpecOrBuilder()
       Spec for pointwise metric.
       
      .google.cloud.aiplatform.v1.PointwiseMetricSpec pointwise_metric_spec = 2;
    • hasPairwiseMetricSpec

      boolean hasPairwiseMetricSpec()
       Spec for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricSpec pairwise_metric_spec = 3;
      Returns:
      Whether the pairwiseMetricSpec field is set.
    • getPairwiseMetricSpec

      PairwiseMetricSpec getPairwiseMetricSpec()
       Spec for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricSpec pairwise_metric_spec = 3;
      Returns:
      The pairwiseMetricSpec.
    • getPairwiseMetricSpecOrBuilder

      PairwiseMetricSpecOrBuilder getPairwiseMetricSpecOrBuilder()
       Spec for pairwise metric.
       
      .google.cloud.aiplatform.v1.PairwiseMetricSpec pairwise_metric_spec = 3;
    • hasExactMatchSpec

      boolean hasExactMatchSpec()
       Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec exact_match_spec = 4;
      Returns:
      Whether the exactMatchSpec field is set.
    • getExactMatchSpec

      ExactMatchSpec getExactMatchSpec()
       Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec exact_match_spec = 4;
      Returns:
      The exactMatchSpec.
    • getExactMatchSpecOrBuilder

      ExactMatchSpecOrBuilder getExactMatchSpecOrBuilder()
       Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec exact_match_spec = 4;
    • hasBleuSpec

      boolean hasBleuSpec()
       Spec for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuSpec bleu_spec = 5;
      Returns:
      Whether the bleuSpec field is set.
    • getBleuSpec

      BleuSpec getBleuSpec()
       Spec for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuSpec bleu_spec = 5;
      Returns:
      The bleuSpec.
    • getBleuSpecOrBuilder

      BleuSpecOrBuilder getBleuSpecOrBuilder()
       Spec for bleu metric.
       
      .google.cloud.aiplatform.v1.BleuSpec bleu_spec = 5;
    • hasRougeSpec

      boolean hasRougeSpec()
       Spec for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeSpec rouge_spec = 6;
      Returns:
      Whether the rougeSpec field is set.
    • getRougeSpec

      RougeSpec getRougeSpec()
       Spec for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeSpec rouge_spec = 6;
      Returns:
      The rougeSpec.
    • getRougeSpecOrBuilder

      RougeSpecOrBuilder getRougeSpecOrBuilder()
       Spec for rouge metric.
       
      .google.cloud.aiplatform.v1.RougeSpec rouge_spec = 6;
    • getAggregationMetricsList

      List<Metric.AggregationMetric> getAggregationMetricsList()
       Optional. The aggregation metrics to use.
       
      repeated .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the aggregationMetrics.
    • getAggregationMetricsCount

      int getAggregationMetricsCount()
       Optional. The aggregation metrics to use.
       
      repeated .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of aggregationMetrics.
    • getAggregationMetrics

      Metric.AggregationMetric getAggregationMetrics(int index)
       Optional. The aggregation metrics to use.
       
      repeated .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The aggregationMetrics at the given index.
    • getAggregationMetricsValueList

      List<Integer> getAggregationMetricsValueList()
       Optional. The aggregation metrics to use.
       
      repeated .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the enum numeric values on the wire for aggregationMetrics.
    • getAggregationMetricsValue

      int getAggregationMetricsValue(int index)
       Optional. The aggregation metrics to use.
       
      repeated .google.cloud.aiplatform.v1.Metric.AggregationMetric aggregation_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of aggregationMetrics at the given index.
    • getMetricSpecCase

      Metric.MetricSpecCase getMetricSpecCase()