Class TrajectoryExactMatchSpec.Builder (3.56.0)

public static final class TrajectoryExactMatchSpec.Builder extends GeneratedMessageV3.Builder<TrajectoryExactMatchSpec.Builder> implements TrajectoryExactMatchSpecOrBuilder

Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the reference trajectory exactly match the predicted trajectory, else 0.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrajectoryExactMatchSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

build()

public TrajectoryExactMatchSpec build()
Returns
Type Description
TrajectoryExactMatchSpec

buildPartial()

public TrajectoryExactMatchSpec buildPartial()
Returns
Type Description
TrajectoryExactMatchSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TrajectoryExactMatchSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TrajectoryExactMatchSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

clone()

public TrajectoryExactMatchSpec.Builder clone()
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

getDefaultInstanceForType()

public TrajectoryExactMatchSpec getDefaultInstanceForType()
Returns
Type Description
TrajectoryExactMatchSpec

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectoryExactMatchSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrajectoryExactMatchSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TrajectoryExactMatchSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TrajectoryExactMatchSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrajectoryExactMatchSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides