Interface QuestionAnsweringHelpfulnessInputOrBuilder (3.49.0)

public interface QuestionAnsweringHelpfulnessInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract QuestionAnsweringHelpfulnessInstance getInstance()

Required. Question answering helpfulness instance.

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

Returns
Type Description
QuestionAnsweringHelpfulnessInstance

The instance.

getInstanceOrBuilder()

public abstract QuestionAnsweringHelpfulnessInstanceOrBuilder getInstanceOrBuilder()

Required. Question answering helpfulness instance.

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

Returns
Type Description
QuestionAnsweringHelpfulnessInstanceOrBuilder

getMetricSpec()

public abstract QuestionAnsweringHelpfulnessSpec getMetricSpec()

Required. Spec for question answering helpfulness score metric.

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

Returns
Type Description
QuestionAnsweringHelpfulnessSpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract QuestionAnsweringHelpfulnessSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for question answering helpfulness score metric.

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

Returns
Type Description
QuestionAnsweringHelpfulnessSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering helpfulness instance.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringHelpfulnessInstance 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 helpfulness score metric.

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

Returns
Type Description
boolean

Whether the metricSpec field is set.