Class ExactMatchSpec.Builder (3.52.0)

public static final class ExactMatchSpec.Builder extends GeneratedMessageV3.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.v1.ExactMatchSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExactMatchSpec.Builder clone()
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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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