Class ExactMatchSpec.Builder (3.84.0)

public static final class ExactMatchSpec.Builder extends GeneratedMessage.Builder<ExactMatchSpec.Builder> implements ExactMatchSpecOrBuilder

Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0.

Protobuf type google.cloud.aiplatform.v1beta1.ExactMatchSpec

Static Methods

getDescriptor()

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

Methods

build()

public ExactMatchSpec build()
Returns
Type Description
ExactMatchSpec

buildPartial()

public ExactMatchSpec buildPartial()
Returns
Type Description
ExactMatchSpec

clear()

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

getDefaultInstanceForType()

public ExactMatchSpec getDefaultInstanceForType()
Returns
Type Description
ExactMatchSpec

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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