Class TrajectoryExactMatchSpec (3.56.0)

public final class TrajectoryExactMatchSpec extends GeneratedMessageV3 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

getDefaultInstance()

public static TrajectoryExactMatchSpec getDefaultInstance()
Returns
Type Description
TrajectoryExactMatchSpec

getDescriptor()

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

newBuilder()

public static TrajectoryExactMatchSpec.Builder newBuilder()
Returns
Type Description
TrajectoryExactMatchSpec.Builder

newBuilder(TrajectoryExactMatchSpec prototype)

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

parseDelimitedFrom(InputStream input)

public static TrajectoryExactMatchSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrajectoryExactMatchSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TrajectoryExactMatchSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrajectoryExactMatchSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TrajectoryExactMatchSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrajectoryExactMatchSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TrajectoryExactMatchSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrajectoryExactMatchSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TrajectoryExactMatchSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrajectoryExactMatchSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TrajectoryExactMatchSpec> parser()
Returns
Type Description
Parser<TrajectoryExactMatchSpec>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TrajectoryExactMatchSpec getDefaultInstanceForType()
Returns
Type Description
TrajectoryExactMatchSpec

getParserForType()

public Parser<TrajectoryExactMatchSpec> getParserForType()
Returns
Type Description
Parser<TrajectoryExactMatchSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrajectoryExactMatchSpec.Builder newBuilderForType()
Returns
Type Description
TrajectoryExactMatchSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrajectoryExactMatchSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrajectoryExactMatchSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TrajectoryExactMatchSpec.Builder toBuilder()
Returns
Type Description
TrajectoryExactMatchSpec.Builder

writeTo(CodedOutputStream output)

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