Interface PredefinedMetricSpecOrBuilder

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

@Generated public interface PredefinedMetricSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMetricSpecName

      String getMetricSpecName()
       Required. The name of a pre-defined metric, such as
       "instruction_following_v1" or "text_quality_v1".
       
      string metric_spec_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The metricSpecName.
    • getMetricSpecNameBytes

      com.google.protobuf.ByteString getMetricSpecNameBytes()
       Required. The name of a pre-defined metric, such as
       "instruction_following_v1" or "text_quality_v1".
       
      string metric_spec_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for metricSpecName.
    • hasMetricSpecParameters

      boolean hasMetricSpecParameters()
       Optional. The parameters needed to run the pre-defined metric.
       
      .google.protobuf.Struct metric_spec_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the metricSpecParameters field is set.
    • getMetricSpecParameters

      com.google.protobuf.Struct getMetricSpecParameters()
       Optional. The parameters needed to run the pre-defined metric.
       
      .google.protobuf.Struct metric_spec_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The metricSpecParameters.
    • getMetricSpecParametersOrBuilder

      com.google.protobuf.StructOrBuilder getMetricSpecParametersOrBuilder()
       Optional. The parameters needed to run the pre-defined metric.
       
      .google.protobuf.Struct metric_spec_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];