public static final class Evaluation.ConfidenceLevelMetrics.Builder extends GeneratedMessageV3.Builder<Evaluation.ConfidenceLevelMetrics.Builder> implements Evaluation.ConfidenceLevelMetricsOrBuilder
Evaluations metrics, at a specific confidence level.
Protobuf type google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics
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 Evaluation.ConfidenceLevelMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Evaluation.ConfidenceLevelMetrics build()
Returns
buildPartial()
public Evaluation.ConfidenceLevelMetrics buildPartial()
Returns
clear()
public Evaluation.ConfidenceLevelMetrics.Builder clear()
Returns
Overrides
clearConfidenceLevel()
public Evaluation.ConfidenceLevelMetrics.Builder clearConfidenceLevel()
The confidence level.
float confidence_level = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Evaluation.ConfidenceLevelMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetrics()
public Evaluation.ConfidenceLevelMetrics.Builder clearMetrics()
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.ConfidenceLevelMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Evaluation.ConfidenceLevelMetrics.Builder clone()
Returns
Overrides
getConfidenceLevel()
public float getConfidenceLevel()
The confidence level.
float confidence_level = 1;
Returns
Type | Description |
float | The confidenceLevel.
|
getDefaultInstanceForType()
public Evaluation.ConfidenceLevelMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMetrics()
public Evaluation.Metrics getMetrics()
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Returns
getMetricsBuilder()
public Evaluation.Metrics.Builder getMetricsBuilder()
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Returns
getMetricsOrBuilder()
public Evaluation.MetricsOrBuilder getMetricsOrBuilder()
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Returns
hasMetrics()
public boolean hasMetrics()
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Returns
Type | Description |
boolean | Whether the metrics field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Evaluation.ConfidenceLevelMetrics other)
public Evaluation.ConfidenceLevelMetrics.Builder mergeFrom(Evaluation.ConfidenceLevelMetrics other)
Parameter
Returns
public Evaluation.ConfidenceLevelMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Evaluation.ConfidenceLevelMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMetrics(Evaluation.Metrics value)
public Evaluation.ConfidenceLevelMetrics.Builder mergeMetrics(Evaluation.Metrics value)
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.ConfidenceLevelMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConfidenceLevel(float value)
public Evaluation.ConfidenceLevelMetrics.Builder setConfidenceLevel(float value)
The confidence level.
float confidence_level = 1;
Parameter
Name | Description |
value | float
The confidenceLevel to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.ConfidenceLevelMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMetrics(Evaluation.Metrics value)
public Evaluation.ConfidenceLevelMetrics.Builder setMetrics(Evaluation.Metrics value)
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Parameter
Returns
setMetrics(Evaluation.Metrics.Builder builderForValue)
public Evaluation.ConfidenceLevelMetrics.Builder setMetrics(Evaluation.Metrics.Builder builderForValue)
The metrics at the specific confidence level.
.google.cloud.documentai.v1beta3.Evaluation.Metrics metrics = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.ConfidenceLevelMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.ConfidenceLevelMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides