Interface Evaluation.GoldenTurnOrBuilder (0.9.0)

public static interface Evaluation.GoldenTurnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHallucinationMetricBehaviorOverride()

public abstract EvaluationMetricsThresholds.HallucinationMetricBehavior getHallucinationMetricBehaviorOverride()

Optional. Override for turn-level hallucination metric behavior.

.google.cloud.ces.v1beta.EvaluationMetricsThresholds.HallucinationMetricBehavior hallucination_metric_behavior_override = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.HallucinationMetricBehavior

The hallucinationMetricBehaviorOverride.

getHallucinationMetricBehaviorOverrideValue()

public abstract int getHallucinationMetricBehaviorOverrideValue()

Optional. Override for turn-level hallucination metric behavior.

.google.cloud.ces.v1beta.EvaluationMetricsThresholds.HallucinationMetricBehavior hallucination_metric_behavior_override = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for hallucinationMetricBehaviorOverride.

getRootSpan()

public abstract Span getRootSpan()

Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.

.google.cloud.ces.v1beta.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Span

The rootSpan.

getRootSpanOrBuilder()

public abstract SpanOrBuilder getRootSpanOrBuilder()

Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.

.google.cloud.ces.v1beta.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpanOrBuilder

getSteps(int index)

public abstract Evaluation.Step getSteps(int index)

Required. The steps required to replay a golden conversation.

repeated .google.cloud.ces.v1beta.Evaluation.Step steps = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Evaluation.Step

getStepsCount()

public abstract int getStepsCount()

Required. The steps required to replay a golden conversation.

repeated .google.cloud.ces.v1beta.Evaluation.Step steps = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getStepsList()

public abstract List<Evaluation.Step> getStepsList()

Required. The steps required to replay a golden conversation.

repeated .google.cloud.ces.v1beta.Evaluation.Step steps = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Step>

getStepsOrBuilder(int index)

public abstract Evaluation.StepOrBuilder getStepsOrBuilder(int index)

Required. The steps required to replay a golden conversation.

repeated .google.cloud.ces.v1beta.Evaluation.Step steps = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Evaluation.StepOrBuilder

getStepsOrBuilderList()

public abstract List<? extends Evaluation.StepOrBuilder> getStepsOrBuilderList()

Required. The steps required to replay a golden conversation.

repeated .google.cloud.ces.v1beta.Evaluation.Step steps = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.Evaluation.StepOrBuilder>

getTurnLevelMetricsThresholdsOverride()

public abstract EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds getTurnLevelMetricsThresholdsOverride()

Optional. Overrides for turn-level metric thresholds.

.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds

The turnLevelMetricsThresholdsOverride.

getTurnLevelMetricsThresholdsOverrideOrBuilder()

public abstract EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder getTurnLevelMetricsThresholdsOverrideOrBuilder()

Optional. Overrides for turn-level metric thresholds.

.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder

hasRootSpan()

public abstract boolean hasRootSpan()

Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.

.google.cloud.ces.v1beta.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rootSpan field is set.

hasTurnLevelMetricsThresholdsOverride()

public abstract boolean hasTurnLevelMetricsThresholdsOverride()

Optional. Overrides for turn-level metric thresholds.

.google.cloud.ces.v1beta.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the turnLevelMetricsThresholdsOverride field is set.