Class ExactMatchSpec (3.41.0)

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

getDefaultInstance()

public static ExactMatchSpec getDefaultInstance()
Returns
TypeDescription
ExactMatchSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExactMatchSpec.Builder newBuilder()
Returns
TypeDescription
ExactMatchSpec.Builder

newBuilder(ExactMatchSpec prototype)

public static ExactMatchSpec.Builder newBuilder(ExactMatchSpec prototype)
Parameter
NameDescription
prototypeExactMatchSpec
Returns
TypeDescription
ExactMatchSpec.Builder

parseDelimitedFrom(InputStream input)

public static ExactMatchSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExactMatchSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExactMatchSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExactMatchSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExactMatchSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExactMatchSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExactMatchSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExactMatchSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExactMatchSpec> parser()
Returns
TypeDescription
Parser<ExactMatchSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExactMatchSpec getDefaultInstanceForType()
Returns
TypeDescription
ExactMatchSpec

getParserForType()

public Parser<ExactMatchSpec> getParserForType()
Returns
TypeDescription
Parser<ExactMatchSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExactMatchSpec.Builder newBuilderForType()
Returns
TypeDescription
ExactMatchSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExactMatchSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExactMatchSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExactMatchSpec.Builder toBuilder()
Returns
TypeDescription
ExactMatchSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException