Class Evaluation.ConfidenceLevelMetrics (2.57.0)

public static final class Evaluation.ConfidenceLevelMetrics extends GeneratedMessageV3 implements Evaluation.ConfidenceLevelMetricsOrBuilder

Evaluations metrics, at a specific confidence level.

Protobuf type google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Evaluation.ConfidenceLevelMetrics

Static Fields

CONFIDENCE_LEVEL_FIELD_NUMBER

public static final int CONFIDENCE_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Evaluation.ConfidenceLevelMetrics getDefaultInstance()
Returns
Type Description
Evaluation.ConfidenceLevelMetrics

getDescriptor()

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

newBuilder()

public static Evaluation.ConfidenceLevelMetrics.Builder newBuilder()
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

newBuilder(Evaluation.ConfidenceLevelMetrics prototype)

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

parseDelimitedFrom(InputStream input)

public static Evaluation.ConfidenceLevelMetrics parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Evaluation.ConfidenceLevelMetrics
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Evaluation.ConfidenceLevelMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Evaluation.ConfidenceLevelMetrics parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Evaluation.ConfidenceLevelMetrics
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Evaluation.ConfidenceLevelMetrics parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Evaluation.ConfidenceLevelMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Evaluation.ConfidenceLevelMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Evaluation.ConfidenceLevelMetrics> parser()
Returns
Type Description
Parser<ConfidenceLevelMetrics>

Methods

equals(Object obj)

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

getConfidenceLevel()

public float getConfidenceLevel()

The confidence level.

float confidence_level = 1;

Returns
Type Description
float

The confidenceLevel.

getDefaultInstanceForType()

public Evaluation.ConfidenceLevelMetrics getDefaultInstanceForType()
Returns
Type Description
Evaluation.ConfidenceLevelMetrics

getMetrics()

public Evaluation.Metrics getMetrics()

The metrics at the specific confidence level.

.google.cloud.documentai.v1.Evaluation.Metrics metrics = 2;

Returns
Type Description
Evaluation.Metrics

The metrics.

getMetricsOrBuilder()

public Evaluation.MetricsOrBuilder getMetricsOrBuilder()

The metrics at the specific confidence level.

.google.cloud.documentai.v1.Evaluation.Metrics metrics = 2;

Returns
Type Description
Evaluation.MetricsOrBuilder

getParserForType()

public Parser<Evaluation.ConfidenceLevelMetrics> getParserForType()
Returns
Type Description
Parser<ConfidenceLevelMetrics>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 Evaluation.ConfidenceLevelMetrics.Builder newBuilderForType()
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Evaluation.ConfidenceLevelMetrics.Builder toBuilder()
Returns
Type Description
Evaluation.ConfidenceLevelMetrics.Builder

writeTo(CodedOutputStream output)

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