Class EvaluationMetricsThresholds.ToolMatchingSettings (0.1.0)

public static final class EvaluationMetricsThresholds.ToolMatchingSettings extends GeneratedMessage implements EvaluationMetricsThresholds.ToolMatchingSettingsOrBuilder

Settings for matching tool calls.

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

Inheritance

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

Static Fields

EXTRA_TOOL_CALL_BEHAVIOR_FIELD_NUMBER

public static final int EXTRA_TOOL_CALL_BEHAVIOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluationMetricsThresholds.ToolMatchingSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getExtraToolCallBehavior()

public EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior getExtraToolCallBehavior()

Optional. Behavior for extra tool calls. Defaults to FAIL.

.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior extra_tool_call_behavior = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior

The extraToolCallBehavior.

getExtraToolCallBehaviorValue()

public int getExtraToolCallBehaviorValue()

Optional. Behavior for extra tool calls. Defaults to FAIL.

.google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior extra_tool_call_behavior = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for extraToolCallBehavior.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.ToolMatchingSettings.Builder newBuilderForType()
Returns
Type Description
EvaluationMetricsThresholds.ToolMatchingSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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