Interface QuestionAnsweringCorrectnessInputOrBuilder (3.40.0)

public interface QuestionAnsweringCorrectnessInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract QuestionAnsweringCorrectnessInstance getInstance()

Required. Question answering correctness instance.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessInstance

The instance.

getInstanceOrBuilder()

public abstract QuestionAnsweringCorrectnessInstanceOrBuilder getInstanceOrBuilder()

Required. Question answering correctness instance.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessInstanceOrBuilder

getMetricSpec()

public abstract QuestionAnsweringCorrectnessSpec getMetricSpec()

Required. Spec for question answering correctness score metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessSpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract QuestionAnsweringCorrectnessSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for question answering correctness score metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering correctness instance.

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

Returns
TypeDescription
boolean

Whether the instance field is set.

hasMetricSpec()

public abstract boolean hasMetricSpec()

Required. Spec for question answering correctness score metric.

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

Returns
TypeDescription
boolean

Whether the metricSpec field is set.