Class Evaluation.MultiConfidenceMetrics.Builder (2.53.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics>
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics>
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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
Name Description
index int
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
index int
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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;

Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

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
Name Description
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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
Name Description
index int
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
index int
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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;

Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Evaluation.MultiConfidenceMetrics build()
Returns
Type Description
Evaluation.MultiConfidenceMetrics

buildPartial()

public Evaluation.MultiConfidenceMetrics buildPartial()
Returns
Type Description
Evaluation.MultiConfidenceMetrics

clear()

public Evaluation.MultiConfidenceMetrics.Builder clear()
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder
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
Type Description
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
Type Description
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;

Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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;

Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

clearEstimatedCalibrationError()

public Evaluation.MultiConfidenceMetrics.Builder clearEstimatedCalibrationError()

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

float estimated_calibration_error = 3;

Returns
Type Description
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
Type Description
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMetricsType()

public Evaluation.MultiConfidenceMetrics.Builder clearMetricsType()

The metrics type for the label.

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

Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Evaluation.MultiConfidenceMetrics.Builder clone()
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetricsOrBuilder

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Evaluation.ConfidenceLevelMetricsOrBuilder

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
Type Description
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder>

getDefaultInstanceForType()

public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
Returns
Type Description
Evaluation.MultiConfidenceMetrics

getDescriptorForType()

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

getEstimatedCalibrationError()

public float getEstimatedCalibrationError()

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

float estimated_calibration_error = 3;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for metricsType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Evaluation.MultiConfidenceMetrics other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Evaluation.MultiConfidenceMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder
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
Name Description
index int
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
index int
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
value float

The auprc to set.

Returns
Type Description
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
Name Description
value float

The auprcExact to set.

Returns
Type Description
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
Name Description
index int
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
index int
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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
Name Description
index int
value Evaluation.ConfidenceLevelMetrics
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

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
Name Description
index int
builderForValue Evaluation.ConfidenceLevelMetrics.Builder
Returns
Type Description
Evaluation.MultiConfidenceMetrics.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
Name Description
value float

The estimatedCalibrationError to set.

Returns
Type Description
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
Name Description
value float

The estimatedCalibrationErrorExact to set.

Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Evaluation.MultiConfidenceMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder
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
Name Description
value Evaluation.MultiConfidenceMetrics.MetricsType

The metricsType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Evaluation.MultiConfidenceMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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