Interface PredefinedMetricSpecOrBuilder (3.86.0)

public interface PredefinedMetricSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetricSpecName()

public abstract 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
Type Description
String

The metricSpecName.

getMetricSpecNameBytes()

public abstract 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
Type Description
ByteString

The bytes for metricSpecName.

getMetricSpecParameters()

public abstract 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
Type Description
Struct

The metricSpecParameters.

getMetricSpecParametersOrBuilder()

public abstract StructOrBuilder getMetricSpecParametersOrBuilder()

Optional. The parameters needed to run the pre-defined metric.

.google.protobuf.Struct metric_spec_parameters = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

hasMetricSpecParameters()

public abstract 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
Type Description
boolean

Whether the metricSpecParameters field is set.