Class EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds (0.1.0)

public static final class EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds extends GeneratedMessage implements EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsOrBuilder

Settings for golden evaluations.

Protobuf type google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds

Static Fields

EXPECTATION_LEVEL_METRICS_THRESHOLDS_FIELD_NUMBER

public static final int EXPECTATION_LEVEL_METRICS_THRESHOLDS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_MATCHING_SETTINGS_FIELD_NUMBER

public static final int TOOL_MATCHING_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

TURN_LEVEL_METRICS_THRESHOLDS_FIELD_NUMBER

public static final int TURN_LEVEL_METRICS_THRESHOLDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds getDefaultInstance()
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder newBuilder()
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder

newBuilder(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds prototype)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder newBuilder(EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds prototype)
Parameter
Name Description
prototype EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder

parseDelimitedFrom(InputStream input)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds> parser()
Returns
Type Description
Parser<GoldenEvaluationMetricsThresholds>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds getDefaultInstanceForType()
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds

getExpectationLevelMetricsThresholds()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholds getExpectationLevelMetricsThresholds()

Optional. The expectation level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholds expectation_level_metrics_thresholds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholds

The expectationLevelMetricsThresholds.

getExpectationLevelMetricsThresholdsOrBuilder()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholdsOrBuilder getExpectationLevelMetricsThresholdsOrBuilder()

Optional. The expectation level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholds expectation_level_metrics_thresholds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholdsOrBuilder

getParserForType()

public Parser<EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds> getParserForType()
Returns
Type Description
Parser<GoldenEvaluationMetricsThresholds>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToolMatchingSettings()

public EvaluationMetricsThresholds.ToolMatchingSettings getToolMatchingSettings()

Optional. The tool matching settings. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation.

.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings tool_matching_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.ToolMatchingSettings

The toolMatchingSettings.

getToolMatchingSettingsOrBuilder()

public EvaluationMetricsThresholds.ToolMatchingSettingsOrBuilder getToolMatchingSettingsOrBuilder()

Optional. The tool matching settings. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation.

.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings tool_matching_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.ToolMatchingSettingsOrBuilder

getTurnLevelMetricsThresholds()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds getTurnLevelMetricsThresholds()

Optional. The turn level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds

The turnLevelMetricsThresholds.

getTurnLevelMetricsThresholdsOrBuilder()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder getTurnLevelMetricsThresholdsOrBuilder()

Optional. The turn level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder

hasExpectationLevelMetricsThresholds()

public boolean hasExpectationLevelMetricsThresholds()

Optional. The expectation level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.ExpectationLevelMetricsThresholds expectation_level_metrics_thresholds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the expectationLevelMetricsThresholds field is set.

hasToolMatchingSettings()

public boolean hasToolMatchingSettings()

Optional. The tool matching settings. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation.

.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings tool_matching_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolMatchingSettings field is set.

hasTurnLevelMetricsThresholds()

public boolean hasTurnLevelMetricsThresholds()

Optional. The turn level metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds turn_level_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the turnLevelMetricsThresholds field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder newBuilderForType()
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder
Overrides

toBuilder()

public EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder toBuilder()
Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException