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