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.v1beta1.TextExtractionEvaluationMetrics
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
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry>
|
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameters
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameters
Returns
public TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
public TextExtractionEvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TextExtractionEvaluationMetrics build()
Returns
public TextExtractionEvaluationMetrics buildPartial()
Returns
public TextExtractionEvaluationMetrics.Builder clear()
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder clearAuPrc()
Output only. The Area under precision recall curve metric.
float au_prc = 1;
Returns
public TextExtractionEvaluationMetrics.Builder clearConfidenceMetricsEntries()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
public TextExtractionEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder clone()
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
public int getConfidenceMetricsEntriesCount()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
public List<TextExtractionEvaluationMetrics.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()
Output only. Metrics that have confidence thresholds.
Precision-recall curve can be derived from it.
repeated .google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Returns
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder> | |
public TextExtractionEvaluationMetrics getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder mergeFrom(TextExtractionEvaluationMetrics other)
Parameter
Returns
public TextExtractionEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TextExtractionEvaluationMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TextExtractionEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameter
Returns
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.
|
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameters
Returns
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.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
Parameters
Returns
public TextExtractionEvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TextExtractionEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TextExtractionEvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides