Class EvaluationMetrics (0.128.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
TypeDescription
int

OBJECT_DETECTION_METRICS_FIELD_NUMBER

public static final int OBJECT_DETECTION_METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluationMetrics getDefaultInstance()
Returns
TypeDescription
EvaluationMetrics

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluationMetrics prototype)

public static EvaluationMetrics.Builder newBuilder(EvaluationMetrics prototype)
Parameter
NameDescription
prototypeEvaluationMetrics
Returns
TypeDescription
EvaluationMetrics.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClassificationMetrics()

public ClassificationMetrics getClassificationMetrics()

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

Returns
TypeDescription
ClassificationMetrics

The classificationMetrics.

getClassificationMetricsOrBuilder()

public ClassificationMetricsOrBuilder getClassificationMetricsOrBuilder()

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

Returns
TypeDescription
ClassificationMetricsOrBuilder

getDefaultInstanceForType()

public EvaluationMetrics getDefaultInstanceForType()
Returns
TypeDescription
EvaluationMetrics

getMetricsCase()

public EvaluationMetrics.MetricsCase getMetricsCase()
Returns
TypeDescription
EvaluationMetrics.MetricsCase

getObjectDetectionMetrics()

public ObjectDetectionMetrics getObjectDetectionMetrics()

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

Returns
TypeDescription
ObjectDetectionMetrics

The objectDetectionMetrics.

getObjectDetectionMetricsOrBuilder()

public ObjectDetectionMetricsOrBuilder getObjectDetectionMetricsOrBuilder()

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

Returns
TypeDescription
ObjectDetectionMetricsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasClassificationMetrics()

public boolean hasClassificationMetrics()

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

Returns
TypeDescription
boolean

Whether the classificationMetrics field is set.

hasObjectDetectionMetrics()

public boolean hasObjectDetectionMetrics()

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

Returns
TypeDescription
boolean

Whether the objectDetectionMetrics field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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