Class EvaluationMetrics.Builder (0.175.0)

public static final class EvaluationMetrics.Builder extends GeneratedMessageV3.Builder<EvaluationMetrics.Builder> implements EvaluationMetricsOrBuilder

Protobuf type google.cloud.datalabeling.v1beta1.EvaluationMetrics

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EvaluationMetrics build()
Returns
Type Description
EvaluationMetrics

buildPartial()

public EvaluationMetrics buildPartial()
Returns
Type Description
EvaluationMetrics

clear()

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

clearClassificationMetrics()

public EvaluationMetrics.Builder clearClassificationMetrics()

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

Returns
Type Description
EvaluationMetrics.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetrics()

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

clearObjectDetectionMetrics()

public EvaluationMetrics.Builder clearObjectDetectionMetrics()

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

Returns
Type Description
EvaluationMetrics.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EvaluationMetrics.Builder clone()
Returns
Type Description
EvaluationMetrics.Builder
Overrides

getClassificationMetrics()

public ClassificationMetrics getClassificationMetrics()

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

Returns
Type Description
ClassificationMetrics

The classificationMetrics.

getClassificationMetricsBuilder()

public ClassificationMetrics.Builder getClassificationMetricsBuilder()

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

Returns
Type Description
ClassificationMetrics.Builder

getClassificationMetricsOrBuilder()

public ClassificationMetricsOrBuilder getClassificationMetricsOrBuilder()

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

Returns
Type Description
ClassificationMetricsOrBuilder

getDefaultInstanceForType()

public EvaluationMetrics getDefaultInstanceForType()
Returns
Type Description
EvaluationMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getObjectDetectionMetricsBuilder()

public ObjectDetectionMetrics.Builder getObjectDetectionMetricsBuilder()

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

Returns
Type Description
ObjectDetectionMetrics.Builder

getObjectDetectionMetricsOrBuilder()

public ObjectDetectionMetricsOrBuilder getObjectDetectionMetricsOrBuilder()

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

Returns
Type Description
ObjectDetectionMetricsOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClassificationMetrics(ClassificationMetrics value)

public EvaluationMetrics.Builder mergeClassificationMetrics(ClassificationMetrics value)

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

Parameter
Name Description
value ClassificationMetrics
Returns
Type Description
EvaluationMetrics.Builder

mergeFrom(EvaluationMetrics other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeObjectDetectionMetrics(ObjectDetectionMetrics value)

public EvaluationMetrics.Builder mergeObjectDetectionMetrics(ObjectDetectionMetrics value)

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

Parameter
Name Description
value ObjectDetectionMetrics
Returns
Type Description
EvaluationMetrics.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClassificationMetrics(ClassificationMetrics value)

public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics value)

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

Parameter
Name Description
value ClassificationMetrics
Returns
Type Description
EvaluationMetrics.Builder

setClassificationMetrics(ClassificationMetrics.Builder builderForValue)

public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics.Builder builderForValue)

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

Parameter
Name Description
builderForValue ClassificationMetrics.Builder
Returns
Type Description
EvaluationMetrics.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setObjectDetectionMetrics(ObjectDetectionMetrics value)

public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics value)

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

Parameter
Name Description
value ObjectDetectionMetrics
Returns
Type Description
EvaluationMetrics.Builder

setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)

public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)

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

Parameter
Name Description
builderForValue ObjectDetectionMetrics.Builder
Returns
Type Description
EvaluationMetrics.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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