public static final class Document.Page.ImageQualityScores.Builder extends GeneratedMessageV3.Builder<Document.Page.ImageQualityScores.Builder> implements Document.Page.ImageQualityScoresOrBuilder
Image quality scores for the page image.
Protobuf type google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDetectedDefects(Iterable<? extends Document.Page.ImageQualityScores.DetectedDefect> values)
public Document.Page.ImageQualityScores.Builder addAllDetectedDefects(Iterable<? extends Document.Page.ImageQualityScores.DetectedDefect> values)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect>
|
addDetectedDefects(Document.Page.ImageQualityScores.DetectedDefect value)
public Document.Page.ImageQualityScores.Builder addDetectedDefects(Document.Page.ImageQualityScores.DetectedDefect value)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
addDetectedDefects(Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
public Document.Page.ImageQualityScores.Builder addDetectedDefects(Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
addDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect value)
public Document.Page.ImageQualityScores.Builder addDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect value)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
addDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
public Document.Page.ImageQualityScores.Builder addDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
addDetectedDefectsBuilder()
public Document.Page.ImageQualityScores.DetectedDefect.Builder addDetectedDefectsBuilder()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
addDetectedDefectsBuilder(int index)
public Document.Page.ImageQualityScores.DetectedDefect.Builder addDetectedDefectsBuilder(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.ImageQualityScores.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Document.Page.ImageQualityScores build()
buildPartial()
public Document.Page.ImageQualityScores buildPartial()
clear()
public Document.Page.ImageQualityScores.Builder clear()
Overrides
clearDetectedDefects()
public Document.Page.ImageQualityScores.Builder clearDetectedDefects()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
clearField(Descriptors.FieldDescriptor field)
public Document.Page.ImageQualityScores.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.ImageQualityScores.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQualityScore()
public Document.Page.ImageQualityScores.Builder clearQualityScore()
The overall quality score. Range [0, 1]
where 1
is perfect quality.
float quality_score = 1;
clone()
public Document.Page.ImageQualityScores.Builder clone()
Overrides
getDefaultInstanceForType()
public Document.Page.ImageQualityScores getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDetectedDefects(int index)
public Document.Page.ImageQualityScores.DetectedDefect getDetectedDefects(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
index |
int
|
getDetectedDefectsBuilder(int index)
public Document.Page.ImageQualityScores.DetectedDefect.Builder getDetectedDefectsBuilder(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
index |
int
|
getDetectedDefectsBuilderList()
public List<Document.Page.ImageQualityScores.DetectedDefect.Builder> getDetectedDefectsBuilderList()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsCount()
public int getDetectedDefectsCount()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Returns |
Type |
Description |
int |
|
getDetectedDefectsList()
public List<Document.Page.ImageQualityScores.DetectedDefect> getDetectedDefectsList()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsOrBuilder(int index)
public Document.Page.ImageQualityScores.DetectedDefectOrBuilder getDetectedDefectsOrBuilder(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
index |
int
|
getDetectedDefectsOrBuilderList()
public List<? extends Document.Page.ImageQualityScores.DetectedDefectOrBuilder> getDetectedDefectsOrBuilderList()
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefectOrBuilder> |
|
getQualityScore()
public float getQualityScore()
The overall quality score. Range [0, 1]
where 1
is perfect quality.
float quality_score = 1;
Returns |
Type |
Description |
float |
The qualityScore.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Document.Page.ImageQualityScores other)
public Document.Page.ImageQualityScores.Builder mergeFrom(Document.Page.ImageQualityScores other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.ImageQualityScores.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Document.Page.ImageQualityScores.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.ImageQualityScores.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDetectedDefects(int index)
public Document.Page.ImageQualityScores.Builder removeDetectedDefects(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
Parameter |
Name |
Description |
index |
int
|
setDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect value)
public Document.Page.ImageQualityScores.Builder setDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect value)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
setDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
public Document.Page.ImageQualityScores.Builder setDetectedDefects(int index, Document.Page.ImageQualityScores.DetectedDefect.Builder builderForValue)
A list of detected defects.
repeated .google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.ImageQualityScores.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQualityScore(float value)
public Document.Page.ImageQualityScores.Builder setQualityScore(float value)
The overall quality score. Range [0, 1]
where 1
is perfect quality.
float quality_score = 1;
Parameter |
Name |
Description |
value |
float
The qualityScore to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.ImageQualityScores.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.ImageQualityScores.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides