public static final class Evaluation.GoldenTurn extends GeneratedMessage implements Evaluation.GoldenTurnOrBuilder
A golden turn defines a single turn in a golden conversation.
Protobuf type google.cloud.ces.v1beta.Evaluation.GoldenTurn
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
HALLUCINATION_METRIC_BEHAVIOR_OVERRIDE_FIELD_NUMBER
public static final int HALLUCINATION_METRIC_BEHAVIOR_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ROOT_SPAN_FIELD_NUMBER
public static final int ROOT_SPAN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TURN_LEVEL_METRICS_THRESHOLDS_OVERRIDE_FIELD_NUMBER
public static final int TURN_LEVEL_METRICS_THRESHOLDS_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Evaluation.GoldenTurn getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Evaluation.GoldenTurn.Builder newBuilder()
newBuilder(Evaluation.GoldenTurn prototype)
public static Evaluation.GoldenTurn.Builder newBuilder(Evaluation.GoldenTurn prototype)
public static Evaluation.GoldenTurn parseDelimitedFrom(InputStream input)
public static Evaluation.GoldenTurn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Evaluation.GoldenTurn parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.GoldenTurn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Evaluation.GoldenTurn parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.GoldenTurn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.GoldenTurn parseFrom(CodedInputStream input)
public static Evaluation.GoldenTurn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Evaluation.GoldenTurn parseFrom(InputStream input)
public static Evaluation.GoldenTurn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Evaluation.GoldenTurn parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.GoldenTurn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Evaluation.GoldenTurn> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Evaluation.GoldenTurn getDefaultInstanceForType()
getHallucinationMetricBehaviorOverride()
public 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];
getHallucinationMetricBehaviorOverrideValue()
public 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.
|
getParserForType()
public Parser<Evaluation.GoldenTurn> getParserForType()
Overrides
getRootSpan()
public 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 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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSteps(int index)
public 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
|
getStepsCount()
public 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 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];
getStepsOrBuilder(int index)
public 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
|
getStepsOrBuilderList()
public 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 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];
getTurnLevelMetricsThresholdsOverrideOrBuilder()
public 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];
hasRootSpan()
public 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Evaluation.GoldenTurn.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Evaluation.GoldenTurn.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Evaluation.GoldenTurn.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides