Class EvaluationMetrics (0.164.0)

public final class EvaluationMetrics extends GeneratedMessageV3 implements EvaluationMetricsOrBuilder

Protobuf type google.cloud.datalabeling.v1beta1.EvaluationMetrics

Static Fields

CLASSIFICATION_METRICS_FIELD_NUMBER

public static final int CLASSIFICATION_METRICS_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_DETECTION_METRICS_FIELD_NUMBER

public static final int OBJECT_DETECTION_METRICS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluationMetrics getDefaultInstance()
Returns
Type Description
EvaluationMetrics

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluationMetrics prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClassificationMetrics()

public ClassificationMetrics getClassificationMetrics()

.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;

Returns
Type Description
ClassificationMetrics

The classificationMetrics.

getClassificationMetricsOrBuilder()

public ClassificationMetricsOrBuilder getClassificationMetricsOrBuilder()

.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;

Returns
Type Description
ClassificationMetricsOrBuilder

getDefaultInstanceForType()

public EvaluationMetrics getDefaultInstanceForType()
Returns
Type Description
EvaluationMetrics

getMetricsCase()

public EvaluationMetrics.MetricsCase getMetricsCase()
Returns
Type Description
EvaluationMetrics.MetricsCase

getObjectDetectionMetrics()

public ObjectDetectionMetrics getObjectDetectionMetrics()

.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;

Returns
Type Description
ObjectDetectionMetrics

The objectDetectionMetrics.

getObjectDetectionMetricsOrBuilder()

public ObjectDetectionMetricsOrBuilder getObjectDetectionMetricsOrBuilder()

.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;

Returns
Type Description
ObjectDetectionMetricsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasClassificationMetrics()

public boolean hasClassificationMetrics()

.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;

Returns
Type Description
boolean

Whether the classificationMetrics field is set.

hasObjectDetectionMetrics()

public boolean hasObjectDetectionMetrics()

.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;

Returns
Type Description
boolean

Whether the objectDetectionMetrics field is set.

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 EvaluationMetrics.Builder newBuilderForType()
Returns
Type Description
EvaluationMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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