Class Evaluation.ConfidenceLevelMetrics (2.45.0)

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

Evaluations metrics, at a specific confidence level.

Protobuf type google.cloud.documentai.v1beta3.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
TypeDescription
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Evaluation.ConfidenceLevelMetrics getDefaultInstance()
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Evaluation.ConfidenceLevelMetrics.Builder newBuilder()
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics.Builder

newBuilder(Evaluation.ConfidenceLevelMetrics prototype)

public static Evaluation.ConfidenceLevelMetrics.Builder newBuilder(Evaluation.ConfidenceLevelMetrics prototype)
Parameter
NameDescription
prototypeEvaluation.ConfidenceLevelMetrics
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics.Builder

parseDelimitedFrom(InputStream input)

public static Evaluation.ConfidenceLevelMetrics parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Evaluation.ConfidenceLevelMetrics parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Evaluation.ConfidenceLevelMetrics parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Evaluation.ConfidenceLevelMetrics parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Evaluation.ConfidenceLevelMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfidenceLevel()

public float getConfidenceLevel()

The confidence level.

float confidence_level = 1;

Returns
TypeDescription
float

The confidenceLevel.

getDefaultInstanceForType()

public Evaluation.ConfidenceLevelMetrics getDefaultInstanceForType()
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics

getMetrics()

public Evaluation.Metrics getMetrics()

The metrics at the specific confidence level.

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

Returns
TypeDescription
Evaluation.Metrics

The metrics.

getMetricsOrBuilder()

public Evaluation.MetricsOrBuilder getMetricsOrBuilder()

The metrics at the specific confidence level.

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

Returns
TypeDescription
Evaluation.MetricsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMetrics()

public boolean hasMetrics()

The metrics at the specific confidence level.

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

Returns
TypeDescription
boolean

Whether the metrics field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Evaluation.ConfidenceLevelMetrics.Builder newBuilderForType()
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Evaluation.ConfidenceLevelMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Evaluation.ConfidenceLevelMetrics.Builder toBuilder()
Returns
TypeDescription
Evaluation.ConfidenceLevelMetrics.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException