Class Evaluation.MultiConfidenceMetrics.Builder (2.20.0)

public static final class Evaluation.MultiConfidenceMetrics.Builder extends GeneratedMessageV3.Builder<Evaluation.MultiConfidenceMetrics.Builder> implements Evaluation.MultiConfidenceMetricsOrBuilder

Metrics across multiple confidence levels.

Protobuf type google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics

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
TypeDescription
Descriptor

Methods

addAllConfidenceLevelMetrics(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)

public Evaluation.MultiConfidenceMetrics.Builder addAllConfidenceLevelMetrics(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics>

addAllConfidenceLevelMetricsExact(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)

public Evaluation.MultiConfidenceMetrics.Builder addAllConfidenceLevelMetricsExact(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics>

addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
valueEvaluation.ConfidenceLevelMetrics

addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameters
NameDescription
indexint
valueEvaluation.ConfidenceLevelMetrics

addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

addConfidenceLevelMetricsBuilder()

public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsBuilder()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

addConfidenceLevelMetricsBuilder(int index)

public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsBuilder(int index)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
indexint

addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
valueEvaluation.ConfidenceLevelMetrics

addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameters
NameDescription
indexint
valueEvaluation.ConfidenceLevelMetrics

addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameters
NameDescription
indexint
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

addConfidenceLevelMetricsExactBuilder()

public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsExactBuilder()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

addConfidenceLevelMetricsExactBuilder(int index)

public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsExactBuilder(int index)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
indexint

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Evaluation.MultiConfidenceMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public Evaluation.MultiConfidenceMetrics build()
Returns
TypeDescription
Evaluation.MultiConfidenceMetrics

buildPartial()

public Evaluation.MultiConfidenceMetrics buildPartial()
Returns
TypeDescription
Evaluation.MultiConfidenceMetrics

clear()

public Evaluation.MultiConfidenceMetrics.Builder clear()
Overrides

clearAuprc()

public Evaluation.MultiConfidenceMetrics.Builder clearAuprc()

The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.

float auprc = 2;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearAuprcExact()

public Evaluation.MultiConfidenceMetrics.Builder clearAuprcExact()

The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.

float auprc_exact = 5;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearConfidenceLevelMetrics()

public Evaluation.MultiConfidenceMetrics.Builder clearConfidenceLevelMetrics()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

clearConfidenceLevelMetricsExact()

public Evaluation.MultiConfidenceMetrics.Builder clearConfidenceLevelMetricsExact()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

clearEstimatedCalibrationError()

public Evaluation.MultiConfidenceMetrics.Builder clearEstimatedCalibrationError()

The Estimated Calibration Error (ECE) of the confidence of the predicted entities.

float estimated_calibration_error = 3;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearEstimatedCalibrationErrorExact()

public Evaluation.MultiConfidenceMetrics.Builder clearEstimatedCalibrationErrorExact()

The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.

float estimated_calibration_error_exact = 6;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Evaluation.MultiConfidenceMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearMetricsType()

public Evaluation.MultiConfidenceMetrics.Builder clearMetricsType()

The metrics type for the label.

.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Evaluation.MultiConfidenceMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clone()

public Evaluation.MultiConfidenceMetrics.Builder clone()
Overrides

getAuprc()

public float getAuprc()

The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.

float auprc = 2;

Returns
TypeDescription
float

The auprc.

getAuprcExact()

public float getAuprcExact()

The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.

float auprc_exact = 5;

Returns
TypeDescription
float

The auprcExact.

getConfidenceLevelMetrics(int index)

public Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetrics(int index)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics

getConfidenceLevelMetricsBuilder(int index)

public Evaluation.ConfidenceLevelMetrics.Builder getConfidenceLevelMetricsBuilder(int index)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
indexint

getConfidenceLevelMetricsBuilderList()

public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsBuilderList()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Returns
TypeDescription
List<Builder>

getConfidenceLevelMetricsCount()

public int getConfidenceLevelMetricsCount()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Returns
TypeDescription
int

getConfidenceLevelMetricsExact(int index)

public Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetricsExact(int index)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics

getConfidenceLevelMetricsExactBuilder(int index)

public Evaluation.ConfidenceLevelMetrics.Builder getConfidenceLevelMetricsExactBuilder(int index)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
indexint

getConfidenceLevelMetricsExactBuilderList()

public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsExactBuilderList()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Returns
TypeDescription
List<Builder>

getConfidenceLevelMetricsExactCount()

public int getConfidenceLevelMetricsExactCount()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Returns
TypeDescription
int

getConfidenceLevelMetricsExactList()

public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsExactList()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Returns
TypeDescription
List<ConfidenceLevelMetrics>

getConfidenceLevelMetricsExactOrBuilder(int index)

public Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsExactOrBuilder(int index)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
indexint

getConfidenceLevelMetricsExactOrBuilderList()

public List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsExactOrBuilderList()

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder>

getConfidenceLevelMetricsList()

public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsList()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Returns
TypeDescription
List<ConfidenceLevelMetrics>

getConfidenceLevelMetricsOrBuilder(int index)

public Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsOrBuilder(int index)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
indexint

getConfidenceLevelMetricsOrBuilderList()

public List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsOrBuilderList()

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder>

getDefaultInstanceForType()

public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
Returns
TypeDescription
Evaluation.MultiConfidenceMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEstimatedCalibrationError()

public float getEstimatedCalibrationError()

The Estimated Calibration Error (ECE) of the confidence of the predicted entities.

float estimated_calibration_error = 3;

Returns
TypeDescription
float

The estimatedCalibrationError.

getEstimatedCalibrationErrorExact()

public float getEstimatedCalibrationErrorExact()

The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.

float estimated_calibration_error_exact = 6;

Returns
TypeDescription
float

The estimatedCalibrationErrorExact.

getMetricsType()

public Evaluation.MultiConfidenceMetrics.MetricsType getMetricsType()

The metrics type for the label.

.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.MetricsType

The metricsType.

getMetricsTypeValue()

public int getMetricsTypeValue()

The metrics type for the label.

.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for metricsType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Evaluation.MultiConfidenceMetrics other)

public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Evaluation.MultiConfidenceMetrics other)
Parameter
NameDescription
otherEvaluation.MultiConfidenceMetrics

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Evaluation.MultiConfidenceMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

removeConfidenceLevelMetrics(int index)

public Evaluation.MultiConfidenceMetrics.Builder removeConfidenceLevelMetrics(int index)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameter
NameDescription
indexint

removeConfidenceLevelMetricsExact(int index)

public Evaluation.MultiConfidenceMetrics.Builder removeConfidenceLevelMetricsExact(int index)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameter
NameDescription
indexint

setAuprc(float value)

public Evaluation.MultiConfidenceMetrics.Builder setAuprc(float value)

The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.

float auprc = 2;

Parameter
NameDescription
valuefloat

The auprc to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setAuprcExact(float value)

public Evaluation.MultiConfidenceMetrics.Builder setAuprcExact(float value)

The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.

float auprc_exact = 5;

Parameter
NameDescription
valuefloat

The auprcExact to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameters
NameDescription
indexint
valueEvaluation.ConfidenceLevelMetrics

setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with fuzzy matching enabled.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;

Parameters
NameDescription
indexint
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)

public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameters
NameDescription
indexint
valueEvaluation.ConfidenceLevelMetrics

setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)

Metrics across confidence levels with only exact matching.

repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;

Parameters
NameDescription
indexint
builderForValueEvaluation.ConfidenceLevelMetrics.Builder

setEstimatedCalibrationError(float value)

public Evaluation.MultiConfidenceMetrics.Builder setEstimatedCalibrationError(float value)

The Estimated Calibration Error (ECE) of the confidence of the predicted entities.

float estimated_calibration_error = 3;

Parameter
NameDescription
valuefloat

The estimatedCalibrationError to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setEstimatedCalibrationErrorExact(float value)

public Evaluation.MultiConfidenceMetrics.Builder setEstimatedCalibrationErrorExact(float value)

The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.

float estimated_calibration_error_exact = 6;

Parameter
NameDescription
valuefloat

The estimatedCalibrationErrorExact to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Evaluation.MultiConfidenceMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

setMetricsType(Evaluation.MultiConfidenceMetrics.MetricsType value)

public Evaluation.MultiConfidenceMetrics.Builder setMetricsType(Evaluation.MultiConfidenceMetrics.MetricsType value)

The metrics type for the label.

.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;

Parameter
NameDescription
valueEvaluation.MultiConfidenceMetrics.MetricsType

The metricsType to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setMetricsTypeValue(int value)

public Evaluation.MultiConfidenceMetrics.Builder setMetricsTypeValue(int value)

The metrics type for the label.

.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;

Parameter
NameDescription
valueint

The enum numeric value on the wire for metricsType to set.

Returns
TypeDescription
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

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

public Evaluation.MultiConfidenceMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Evaluation.MultiConfidenceMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides