public static final class TextExtractionEvaluationMetrics.Builder extends GeneratedMessageV3.Builder<TextExtractionEvaluationMetrics.Builder> implements TextExtractionEvaluationMetricsOrBuilder
Model evaluation metrics for text extraction problems.
Protobuf type google.cloud.automl.v1.TextExtractionEvaluationMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public TextExtractionEvaluationMetrics.Builder addAllConfidenceMetricsEntries(Iterable<? extends TextExtractionEvaluationMetrics.ConfidenceMetricsEntry> values)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry>
|
public TextExtractionEvaluationMetrics.Builder addConfidenceMetricsEntries(TextExtractionEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder addConfidenceMetricsEntries(TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder addConfidenceMetricsEntries(int index, TextExtractionEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder addConfidenceMetricsEntries(int index, TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
index |
int
|
public TextExtractionEvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextExtractionEvaluationMetrics build()
public TextExtractionEvaluationMetrics buildPartial()
public TextExtractionEvaluationMetrics.Builder clear()
Overrides
public TextExtractionEvaluationMetrics.Builder clearAuPrc()
Output only. The Area under precision recall curve metric.
float au_prc = 1;
public TextExtractionEvaluationMetrics.Builder clearConfidenceMetricsEntries()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TextExtractionEvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TextExtractionEvaluationMetrics.Builder clone()
Overrides
Output only. The Area under precision recall curve metric.
float au_prc = 1;
Returns |
Type |
Description |
float |
The auPrc.
|
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry getConfidenceMetricsEntries(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
index |
int
|
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder getConfidenceMetricsEntriesBuilder(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
index |
int
|
public List<TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder> getConfidenceMetricsEntriesBuilderList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public int getConfidenceMetricsEntriesCount()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns |
Type |
Description |
int |
|
public List<TextExtractionEvaluationMetrics.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntriesOrBuilder(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntriesOrBuilderList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> |
|
public TextExtractionEvaluationMetrics getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TextExtractionEvaluationMetrics.Builder mergeFrom(TextExtractionEvaluationMetrics other)
public TextExtractionEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TextExtractionEvaluationMetrics.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final TextExtractionEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TextExtractionEvaluationMetrics.Builder removeConfidenceMetricsEntries(int index)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter |
Name |
Description |
index |
int
|
public TextExtractionEvaluationMetrics.Builder setAuPrc(float value)
Output only. The Area under precision recall curve metric.
float au_prc = 1;
Parameter |
Name |
Description |
value |
float
The auPrc to set.
|
public TextExtractionEvaluationMetrics.Builder setConfidenceMetricsEntries(int index, TextExtractionEvaluationMetrics.ConfidenceMetricsEntry value)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder setConfidenceMetricsEntries(int index, TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder builderForValue)
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
public TextExtractionEvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextExtractionEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TextExtractionEvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides