Interface Document.Page.ImageQualityScoresOrBuilder (2.53.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.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;

Parameter
Name Description
index int
Returns
Type Description
Document.Page.ImageQualityScores.DetectedDefect

getDetectedDefectsCount()

public abstract int getDetectedDefectsCount()

A list of detected defects.

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

Returns
Type Description
int

getDetectedDefectsList()

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

A list of detected defects.

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

Returns
Type Description
List<DetectedDefect>

getDetectedDefectsOrBuilder(int index)

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

A list of detected defects.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.ImageQualityScores.DetectedDefectOrBuilder

getDetectedDefectsOrBuilderList()

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

A list of detected defects.

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

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta2.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
Type Description
float

The qualityScore.