Interface QuestionAnsweringHelpfulnessInputOrBuilder (3.40.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
QuestionAnsweringHelpfulnessSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering helpfulness instance.

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

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

Returns
TypeDescription
boolean

Whether the metricSpec field is set.