public static final class EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder extends GeneratedMessage.Builder<EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder> implements EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilderTurn level metrics thresholds.
Protobuf type
google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.BuilderImplements
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds build()| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds |
|
buildPartial()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds buildPartial()| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds |
|
clear()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder clear()| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
|
clearOverallToolInvocationCorrectnessThreshold()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder clearOverallToolInvocationCorrectnessThreshold()Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
clearSemanticSimilarityChannel()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder clearSemanticSimilarityChannel()Optional. The semantic similarity channel to use for evaluation.
.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
clearSemanticSimilaritySuccessThreshold()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder clearSemanticSimilaritySuccessThreshold()Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOverallToolInvocationCorrectnessThreshold()
public float getOverallToolInvocationCorrectnessThreshold()Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
float |
The overallToolInvocationCorrectnessThreshold. |
getSemanticSimilarityChannel()
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel getSemanticSimilarityChannel()Optional. The semantic similarity channel to use for evaluation.
.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel |
The semanticSimilarityChannel. |
getSemanticSimilarityChannelValue()
public int getSemanticSimilarityChannelValue()Optional. The semantic similarity channel to use for evaluation.
.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for semanticSimilarityChannel. |
getSemanticSimilaritySuccessThreshold()
public int getSemanticSimilaritySuccessThreshold()Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The semanticSimilaritySuccessThreshold. |
hasOverallToolInvocationCorrectnessThreshold()
public boolean hasOverallToolInvocationCorrectnessThreshold()Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the overallToolInvocationCorrectnessThreshold field is set. |
hasSemanticSimilaritySuccessThreshold()
public boolean hasSemanticSimilaritySuccessThreshold()Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the semanticSimilaritySuccessThreshold field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds other)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder mergeFrom(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
|
setOverallToolInvocationCorrectnessThreshold(float value)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder setOverallToolInvocationCorrectnessThreshold(float value)Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe overallToolInvocationCorrectnessThreshold to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
setSemanticSimilarityChannel(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel value)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder setSemanticSimilarityChannel(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel value)Optional. The semantic similarity channel to use for evaluation.
.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannelThe semanticSimilarityChannel to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
setSemanticSimilarityChannelValue(int value)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder setSemanticSimilarityChannelValue(int value)Optional. The semantic similarity channel to use for evaluation.
.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for semanticSimilarityChannel to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |
setSemanticSimilaritySuccessThreshold(int value)
public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder setSemanticSimilaritySuccessThreshold(int value)Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe semanticSimilaritySuccessThreshold to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.Builder |
This builder for chaining. |