Interface QuestionAnsweringCorrectnessInputOrBuilder (3.54.0)

public interface QuestionAnsweringCorrectnessInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract QuestionAnsweringCorrectnessInstance getInstance()

Required. Question answering correctness instance.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuestionAnsweringCorrectnessInstance

The instance.

getInstanceOrBuilder()

public abstract QuestionAnsweringCorrectnessInstanceOrBuilder getInstanceOrBuilder()

Required. Question answering correctness instance.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuestionAnsweringCorrectnessInstanceOrBuilder

getMetricSpec()

public abstract QuestionAnsweringCorrectnessSpec getMetricSpec()

Required. Spec for question answering correctness score metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuestionAnsweringCorrectnessSpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract QuestionAnsweringCorrectnessSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for question answering correctness score metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuestionAnsweringCorrectnessSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering correctness instance.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public abstract boolean hasMetricSpec()

Required. Spec for question answering correctness score metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.