Class TrajectoryRecallSpec.Builder (3.56.0)

public static final class TrajectoryRecallSpec.Builder extends GeneratedMessageV3.Builder<TrajectoryRecallSpec.Builder> implements TrajectoryRecallSpecOrBuilder

Spec for TrajectoryRecall metric - returns a float score based on average recall of individual tool calls.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrajectoryRecallSpec build()
Returns
Type Description
TrajectoryRecallSpec

buildPartial()

public TrajectoryRecallSpec buildPartial()
Returns
Type Description
TrajectoryRecallSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TrajectoryRecallSpec getDefaultInstanceForType()
Returns
Type Description
TrajectoryRecallSpec

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(TrajectoryRecallSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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