public static final class Document.Page.ImageQualityScores extends com.google.protobuf.GeneratedMessageV3 implements Document.Page.ImageQualityScoresOrBuilder
Image quality scores for the page image.Protobuf type
google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Page.ImageQualityScores.Builder
Image quality scores for the page image.
|
static class |
Document.Page.ImageQualityScores.DetectedDefect
Image Quality Defects
|
static interface |
Document.Page.ImageQualityScores.DetectedDefectOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DETECTED_DEFECTS_FIELD_NUMBER |
static int |
QUALITY_SCORE_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int QUALITY_SCORE_FIELD_NUMBER
public static final int DETECTED_DEFECTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public float getQualityScore()
The overall quality score. Range `[0, 1]` where `1` is perfect quality.
float quality_score = 1;getQualityScore in interface Document.Page.ImageQualityScoresOrBuilderpublic List<Document.Page.ImageQualityScores.DetectedDefect> getDetectedDefectsList()
A list of detected defects.
repeated .google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsList in interface Document.Page.ImageQualityScoresOrBuilderpublic List<? extends Document.Page.ImageQualityScores.DetectedDefectOrBuilder> getDetectedDefectsOrBuilderList()
A list of detected defects.
repeated .google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsOrBuilderList in interface Document.Page.ImageQualityScoresOrBuilderpublic int getDetectedDefectsCount()
A list of detected defects.
repeated .google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsCount in interface Document.Page.ImageQualityScoresOrBuilderpublic Document.Page.ImageQualityScores.DetectedDefect getDetectedDefects(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefects in interface Document.Page.ImageQualityScoresOrBuilderpublic Document.Page.ImageQualityScores.DetectedDefectOrBuilder getDetectedDefectsOrBuilder(int index)
A list of detected defects.
repeated .google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2;
getDetectedDefectsOrBuilder in interface Document.Page.ImageQualityScoresOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Document.Page.ImageQualityScores parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page.ImageQualityScores parseFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Page.ImageQualityScores parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Page.ImageQualityScores parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Page.ImageQualityScores parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Page.ImageQualityScores parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Document.Page.ImageQualityScores parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Document.Page.ImageQualityScores.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Document.Page.ImageQualityScores.Builder newBuilder()
public static Document.Page.ImageQualityScores.Builder newBuilder(Document.Page.ImageQualityScores prototype)
public Document.Page.ImageQualityScores.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Document.Page.ImageQualityScores.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Document.Page.ImageQualityScores getDefaultInstance()
public static com.google.protobuf.Parser<Document.Page.ImageQualityScores> parser()
public com.google.protobuf.Parser<Document.Page.ImageQualityScores> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Document.Page.ImageQualityScores getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.