Class TrajectoryInOrderMatchSpec.Builder (3.84.0)

public static final class TrajectoryInOrderMatchSpec.Builder extends GeneratedMessage.Builder<TrajectoryInOrderMatchSpec.Builder> implements TrajectoryInOrderMatchSpecOrBuilder

Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the reference trajectory appear in the predicted trajectory in the same order, else 0.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryInOrderMatchSpec

Static Methods

getDescriptor()

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

Methods

build()

public TrajectoryInOrderMatchSpec build()
Returns
Type Description
TrajectoryInOrderMatchSpec

buildPartial()

public TrajectoryInOrderMatchSpec buildPartial()
Returns
Type Description
TrajectoryInOrderMatchSpec

clear()

public TrajectoryInOrderMatchSpec.Builder clear()
Returns
Type Description
TrajectoryInOrderMatchSpec.Builder
Overrides

getDefaultInstanceForType()

public TrajectoryInOrderMatchSpec getDefaultInstanceForType()
Returns
Type Description
TrajectoryInOrderMatchSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectoryInOrderMatchSpec other)

public TrajectoryInOrderMatchSpec.Builder mergeFrom(TrajectoryInOrderMatchSpec other)
Parameter
Name Description
other TrajectoryInOrderMatchSpec
Returns
Type Description
TrajectoryInOrderMatchSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrajectoryInOrderMatchSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectoryInOrderMatchSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrajectoryInOrderMatchSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrajectoryInOrderMatchSpec.Builder
Overrides