Class TextExtractionEvaluationMetrics (2.47.0)

public final class TextExtractionEvaluationMetrics extends GeneratedMessageV3 implements TextExtractionEvaluationMetricsOrBuilder

Model evaluation metrics for text extraction problems.

Protobuf type google.cloud.automl.v1.TextExtractionEvaluationMetrics

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TextExtractionEvaluationMetrics

Static Fields

AU_PRC_FIELD_NUMBER

public static final int AU_PRC_FIELD_NUMBER
Field Value
Type Description
int

CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER

public static final int CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TextExtractionEvaluationMetrics getDefaultInstance()
Returns
Type Description
TextExtractionEvaluationMetrics

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TextExtractionEvaluationMetrics.Builder newBuilder()
Returns
Type Description
TextExtractionEvaluationMetrics.Builder

newBuilder(TextExtractionEvaluationMetrics prototype)

public static TextExtractionEvaluationMetrics.Builder newBuilder(TextExtractionEvaluationMetrics prototype)
Parameter
Name Description
prototype TextExtractionEvaluationMetrics
Returns
Type Description
TextExtractionEvaluationMetrics.Builder

parseDelimitedFrom(InputStream input)

public static TextExtractionEvaluationMetrics parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TextExtractionEvaluationMetrics parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TextExtractionEvaluationMetrics parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TextExtractionEvaluationMetrics parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TextExtractionEvaluationMetrics parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TextExtractionEvaluationMetrics parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TextExtractionEvaluationMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextExtractionEvaluationMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TextExtractionEvaluationMetrics> parser()
Returns
Type Description
Parser<TextExtractionEvaluationMetrics>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuPrc()

public float getAuPrc()

Output only. The Area under precision recall curve metric.

float au_prc = 1;

Returns
Type Description
float

The auPrc.

getConfidenceMetricsEntries(int index)

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
Returns
Type Description
TextExtractionEvaluationMetrics.ConfidenceMetricsEntry

getConfidenceMetricsEntriesCount()

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

getConfidenceMetricsEntriesList()

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;

Returns
Type Description
List<ConfidenceMetricsEntry>

getConfidenceMetricsEntriesOrBuilder(int index)

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
Returns
Type Description
TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder

getConfidenceMetricsEntriesOrBuilderList()

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>

getDefaultInstanceForType()

public TextExtractionEvaluationMetrics getDefaultInstanceForType()
Returns
Type Description
TextExtractionEvaluationMetrics

getParserForType()

public Parser<TextExtractionEvaluationMetrics> getParserForType()
Returns
Type Description
Parser<TextExtractionEvaluationMetrics>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TextExtractionEvaluationMetrics.Builder newBuilderForType()
Returns
Type Description
TextExtractionEvaluationMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TextExtractionEvaluationMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TextExtractionEvaluationMetrics.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TextExtractionEvaluationMetrics.Builder toBuilder()
Returns
Type Description
TextExtractionEvaluationMetrics.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException