public static final class EvaluationMetrics.Builder extends GeneratedMessageV3.Builder<EvaluationMetrics.Builder> implements EvaluationMetricsOrBuilder
Protobuf type google.cloud.datalabeling.v1beta1.EvaluationMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EvaluationMetrics build()
Returns
buildPartial()
public EvaluationMetrics buildPartial()
Returns
clear()
public EvaluationMetrics.Builder clear()
Returns
Overrides
clearClassificationMetrics()
public EvaluationMetrics.Builder clearClassificationMetrics()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public EvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetrics()
public EvaluationMetrics.Builder clearMetrics()
Returns
clearObjectDetectionMetrics()
public EvaluationMetrics.Builder clearObjectDetectionMetrics()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EvaluationMetrics.Builder clone()
Returns
Overrides
getClassificationMetrics()
public ClassificationMetrics getClassificationMetrics()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Returns
getClassificationMetricsBuilder()
public ClassificationMetrics.Builder getClassificationMetricsBuilder()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Returns
getClassificationMetricsOrBuilder()
public ClassificationMetricsOrBuilder getClassificationMetricsOrBuilder()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Returns
getDefaultInstanceForType()
public EvaluationMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMetricsCase()
public EvaluationMetrics.MetricsCase getMetricsCase()
Returns
getObjectDetectionMetrics()
public ObjectDetectionMetrics getObjectDetectionMetrics()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Returns
getObjectDetectionMetricsBuilder()
public ObjectDetectionMetrics.Builder getObjectDetectionMetricsBuilder()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Returns
getObjectDetectionMetricsOrBuilder()
public ObjectDetectionMetricsOrBuilder getObjectDetectionMetricsOrBuilder()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeClassificationMetrics(ClassificationMetrics value)
public EvaluationMetrics.Builder mergeClassificationMetrics(ClassificationMetrics value)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Parameter
Returns
mergeFrom(EvaluationMetrics other)
public EvaluationMetrics.Builder mergeFrom(EvaluationMetrics other)
Parameter
Returns
public EvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EvaluationMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeObjectDetectionMetrics(ObjectDetectionMetrics value)
public EvaluationMetrics.Builder mergeObjectDetectionMetrics(ObjectDetectionMetrics value)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setClassificationMetrics(ClassificationMetrics value)
public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics value)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Parameter
Returns
setClassificationMetrics(ClassificationMetrics.Builder builderForValue)
public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setObjectDetectionMetrics(ObjectDetectionMetrics value)
public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics value)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Parameter
Returns
setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)
public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides