Interface QuestionAnsweringRelevanceInputOrBuilder (3.41.0)

public interface QuestionAnsweringRelevanceInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract QuestionAnsweringRelevanceInstance getInstance()

Required. Question answering relevance instance.

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

Returns
TypeDescription
QuestionAnsweringRelevanceInstance

The instance.

getInstanceOrBuilder()

public abstract QuestionAnsweringRelevanceInstanceOrBuilder getInstanceOrBuilder()

Required. Question answering relevance instance.

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

Returns
TypeDescription
QuestionAnsweringRelevanceInstanceOrBuilder

getMetricSpec()

public abstract QuestionAnsweringRelevanceSpec getMetricSpec()

Required. Spec for question answering relevance score metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceSpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract QuestionAnsweringRelevanceSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for question answering relevance score metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering relevance instance.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringRelevanceInstance 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 relevance score metric.

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

Returns
TypeDescription
boolean

Whether the metricSpec field is set.