Interface Document.Page.ImageQualityScoresOrBuilder (2.44.0)

public static interface Document.Page.ImageQualityScoresOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectedDefects(int index)

public abstract Document.Page.ImageQualityScores.DetectedDefect getDetectedDefects(int index)

A list of detected defects.

repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.ImageQualityScores.DetectedDefect

getDetectedDefectsCount()

public abstract int getDetectedDefectsCount()

A list of detected defects.

repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Returns
TypeDescription
int

getDetectedDefectsList()

public abstract List<Document.Page.ImageQualityScores.DetectedDefect> getDetectedDefectsList()

A list of detected defects.

repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Returns
TypeDescription
List<DetectedDefect>

getDetectedDefectsOrBuilder(int index)

public abstract Document.Page.ImageQualityScores.DetectedDefectOrBuilder getDetectedDefectsOrBuilder(int index)

A list of detected defects.

repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.ImageQualityScores.DetectedDefectOrBuilder

getDetectedDefectsOrBuilderList()

public abstract List<? extends Document.Page.ImageQualityScores.DetectedDefectOrBuilder> getDetectedDefectsOrBuilderList()

A list of detected defects.

repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefectOrBuilder>

getQualityScore()

public abstract float getQualityScore()

The overall quality score. Range [0, 1] where 1 is perfect quality.

float quality_score = 1;

Returns
TypeDescription
float

The qualityScore.