Interface QuestionAnsweringRelevanceInputOrBuilder (3.54.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
Type Description
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
Type Description
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
Type Description
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
Type Description
QuestionAnsweringRelevanceSpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Question answering relevance instance.

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

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

Returns
Type Description
boolean

Whether the metricSpec field is set.