Package com.google.cloud.documentai.v1
Class Document.Page
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Document.Page
- All Implemented Interfaces:
Document.PageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Document
public static final class Document.Page
extends com.google.protobuf.GeneratedMessage
implements Document.PageOrBuilder
A page in a [Document][google.cloud.documentai.v1.Document].Protobuf type
google.cloud.documentai.v1.Document.Page- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.static interfacestatic final classA page in a [Document][google.cloud.documentai.v1.Document].static final classA detected barcode.static interfacestatic final classDetected language for a structural component.static interfacestatic final classDimension for the page.static interfacestatic final classA form field detected on the page.static interfacestatic final classRendered image contents for this page.static interfacestatic final classImage quality scores for the page image.static interfacestatic final classVisual element describing a layout unit on a page.static interfacestatic final classA collection of tokens that a human would perceive as a line.static interfacestatic final classRepresentation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.static interfacestatic final classA collection of lines that a human would perceive as a paragraph.static interfacestatic final classA detected symbol.static interfacestatic final classA table representation similar to HTML table structure.static interfacestatic final classA detected token.static interfacestatic final classDetected non-text visual elements, for example, checkbox, signature etc.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBlocks(int index) A list of visually detected text blocks on the page.intA list of visually detected text blocks on the page.A list of visually detected text blocks on the page.getBlocksOrBuilder(int index) A list of visually detected text blocks on the page.List<? extends Document.Page.BlockOrBuilder>A list of visually detected text blocks on the page.static Document.Pagestatic final com.google.protobuf.Descriptors.DescriptorgetDetectedBarcodes(int index) A list of detected barcodes.intA list of detected barcodes.A list of detected barcodes.getDetectedBarcodesOrBuilder(int index) A list of detected barcodes.List<? extends Document.Page.DetectedBarcodeOrBuilder>A list of detected barcodes.getDetectedLanguages(int index) A list of detected languages together with confidence.intA list of detected languages together with confidence.A list of detected languages together with confidence.getDetectedLanguagesOrBuilder(int index) A list of detected languages together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>A list of detected languages together with confidence.Physical dimension of the page.Physical dimension of the page.getFormFields(int index) A list of visually detected form fields on the page.intA list of visually detected form fields on the page.A list of visually detected form fields on the page.getFormFieldsOrBuilder(int index) A list of visually detected form fields on the page.List<? extends Document.Page.FormFieldOrBuilder>A list of visually detected form fields on the page.getImage()Rendered image for this page.Rendered image for this page.Image quality scores.Image quality scores.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.getLines(int index) A list of visually detected text lines on the page.intA list of visually detected text lines on the page.A list of visually detected text lines on the page.getLinesOrBuilder(int index) A list of visually detected text lines on the page.List<? extends Document.Page.LineOrBuilder>A list of visually detected text lines on the page.int1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].getParagraphs(int index) A list of visually detected text paragraphs on the page.intA list of visually detected text paragraphs on the page.A list of visually detected text paragraphs on the page.getParagraphsOrBuilder(int index) A list of visually detected text paragraphs on the page.List<? extends Document.Page.ParagraphOrBuilder>A list of visually detected text paragraphs on the page.com.google.protobuf.Parser<Document.Page>Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated.Deprecated.intgetSymbols(int index) A list of visually detected symbols on the page.intA list of visually detected symbols on the page.A list of visually detected symbols on the page.getSymbolsOrBuilder(int index) A list of visually detected symbols on the page.List<? extends Document.Page.SymbolOrBuilder>A list of visually detected symbols on the page.getTables(int index) A list of visually detected tables on the page.intA list of visually detected tables on the page.A list of visually detected tables on the page.getTablesOrBuilder(int index) A list of visually detected tables on the page.List<? extends Document.Page.TableOrBuilder>A list of visually detected tables on the page.getTokens(int index) A list of visually detected tokens on the page.intA list of visually detected tokens on the page.A list of visually detected tokens on the page.getTokensOrBuilder(int index) A list of visually detected tokens on the page.List<? extends Document.Page.TokenOrBuilder>A list of visually detected tokens on the page.getTransforms(int index) Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].intTransformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].getTransformsOrBuilder(int index) Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].List<? extends Document.Page.MatrixOrBuilder>Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].getVisualElements(int index) A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.intA list of detected non-text visual elements, for example, checkbox, signature etc. on the page.A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.getVisualElementsOrBuilder(int index) A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.List<? extends Document.Page.VisualElementOrBuilder>A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.booleanPhysical dimension of the page.inthashCode()booleanhasImage()Rendered image for this page.booleanImage quality scores.boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.booleanDeprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Document.Page.Builderstatic Document.Page.BuildernewBuilder(Document.Page prototype) protected Document.Page.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Document.PageparseDelimitedFrom(InputStream input) static Document.PageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.PageparseFrom(byte[] data) static Document.PageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.PageparseFrom(com.google.protobuf.ByteString data) static Document.PageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.PageparseFrom(com.google.protobuf.CodedInputStream input) static Document.PageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.PageparseFrom(InputStream input) static Document.PageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Document.PageparseFrom(ByteBuffer data) static Document.PageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Document.Page>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PAGE_NUMBER_FIELD_NUMBER
public static final int PAGE_NUMBER_FIELD_NUMBER- See Also:
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
TRANSFORMS_FIELD_NUMBER
public static final int TRANSFORMS_FIELD_NUMBER- See Also:
-
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER- See Also:
-
LAYOUT_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER- See Also:
-
DETECTED_LANGUAGES_FIELD_NUMBER
public static final int DETECTED_LANGUAGES_FIELD_NUMBER- See Also:
-
BLOCKS_FIELD_NUMBER
public static final int BLOCKS_FIELD_NUMBER- See Also:
-
PARAGRAPHS_FIELD_NUMBER
public static final int PARAGRAPHS_FIELD_NUMBER- See Also:
-
LINES_FIELD_NUMBER
public static final int LINES_FIELD_NUMBER- See Also:
-
TOKENS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER- See Also:
-
VISUAL_ELEMENTS_FIELD_NUMBER
public static final int VISUAL_ELEMENTS_FIELD_NUMBER- See Also:
-
TABLES_FIELD_NUMBER
public static final int TABLES_FIELD_NUMBER- See Also:
-
FORM_FIELDS_FIELD_NUMBER
public static final int FORM_FIELDS_FIELD_NUMBER- See Also:
-
SYMBOLS_FIELD_NUMBER
public static final int SYMBOLS_FIELD_NUMBER- See Also:
-
DETECTED_BARCODES_FIELD_NUMBER
public static final int DETECTED_BARCODES_FIELD_NUMBER- See Also:
-
IMAGE_QUALITY_SCORES_FIELD_NUMBER
public static final int IMAGE_QUALITY_SCORES_FIELD_NUMBER- See Also:
-
PROVENANCE_FIELD_NUMBER
public static final int PROVENANCE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPageNumber
public int getPageNumber()1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual processing.
int32 page_number = 1;- Specified by:
getPageNumberin interfaceDocument.PageOrBuilder- Returns:
- The pageNumber.
-
hasImage
public boolean hasImage()Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13;- Specified by:
hasImagein interfaceDocument.PageOrBuilder- Returns:
- Whether the image field is set.
-
getImage
Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13;- Specified by:
getImagein interfaceDocument.PageOrBuilder- Returns:
- The image.
-
getImageOrBuilder
Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13;- Specified by:
getImageOrBuilderin interfaceDocument.PageOrBuilder
-
getTransformsList
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;- Specified by:
getTransformsListin interfaceDocument.PageOrBuilder
-
getTransformsOrBuilderList
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;- Specified by:
getTransformsOrBuilderListin interfaceDocument.PageOrBuilder
-
getTransformsCount
public int getTransformsCount()Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;- Specified by:
getTransformsCountin interfaceDocument.PageOrBuilder
-
getTransforms
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;- Specified by:
getTransformsin interfaceDocument.PageOrBuilder
-
getTransformsOrBuilder
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;- Specified by:
getTransformsOrBuilderin interfaceDocument.PageOrBuilder
-
hasDimension
public boolean hasDimension()Physical dimension of the page.
.google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;- Specified by:
hasDimensionin interfaceDocument.PageOrBuilder- Returns:
- Whether the dimension field is set.
-
getDimension
Physical dimension of the page.
.google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;- Specified by:
getDimensionin interfaceDocument.PageOrBuilder- Returns:
- The dimension.
-
getDimensionOrBuilder
Physical dimension of the page.
.google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;- Specified by:
getDimensionOrBuilderin interfaceDocument.PageOrBuilder
-
hasLayout
public boolean hasLayout()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3;- Specified by:
hasLayoutin interfaceDocument.PageOrBuilder- Returns:
- Whether the layout field is set.
-
getLayout
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3;- Specified by:
getLayoutin interfaceDocument.PageOrBuilder- Returns:
- The layout.
-
getLayoutOrBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3;- Specified by:
getLayoutOrBuilderin interfaceDocument.PageOrBuilder
-
getDetectedLanguagesList
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;- Specified by:
getDetectedLanguagesListin interfaceDocument.PageOrBuilder
-
getDetectedLanguagesOrBuilderList
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;- Specified by:
getDetectedLanguagesOrBuilderListin interfaceDocument.PageOrBuilder
-
getDetectedLanguagesCount
public int getDetectedLanguagesCount()A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;- Specified by:
getDetectedLanguagesCountin interfaceDocument.PageOrBuilder
-
getDetectedLanguages
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;- Specified by:
getDetectedLanguagesin interfaceDocument.PageOrBuilder
-
getDetectedLanguagesOrBuilder
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;- Specified by:
getDetectedLanguagesOrBuilderin interfaceDocument.PageOrBuilder
-
getBlocksList
A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5;- Specified by:
getBlocksListin interfaceDocument.PageOrBuilder
-
getBlocksOrBuilderList
A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5;- Specified by:
getBlocksOrBuilderListin interfaceDocument.PageOrBuilder
-
getBlocksCount
public int getBlocksCount()A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5;- Specified by:
getBlocksCountin interfaceDocument.PageOrBuilder
-
getBlocks
A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5;- Specified by:
getBlocksin interfaceDocument.PageOrBuilder
-
getBlocksOrBuilder
A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5;- Specified by:
getBlocksOrBuilderin interfaceDocument.PageOrBuilder
-
getParagraphsList
A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;- Specified by:
getParagraphsListin interfaceDocument.PageOrBuilder
-
getParagraphsOrBuilderList
A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;- Specified by:
getParagraphsOrBuilderListin interfaceDocument.PageOrBuilder
-
getParagraphsCount
public int getParagraphsCount()A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;- Specified by:
getParagraphsCountin interfaceDocument.PageOrBuilder
-
getParagraphs
A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;- Specified by:
getParagraphsin interfaceDocument.PageOrBuilder
-
getParagraphsOrBuilder
A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;- Specified by:
getParagraphsOrBuilderin interfaceDocument.PageOrBuilder
-
getLinesList
A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;- Specified by:
getLinesListin interfaceDocument.PageOrBuilder
-
getLinesOrBuilderList
A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;- Specified by:
getLinesOrBuilderListin interfaceDocument.PageOrBuilder
-
getLinesCount
public int getLinesCount()A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;- Specified by:
getLinesCountin interfaceDocument.PageOrBuilder
-
getLines
A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;- Specified by:
getLinesin interfaceDocument.PageOrBuilder
-
getLinesOrBuilder
A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;- Specified by:
getLinesOrBuilderin interfaceDocument.PageOrBuilder
-
getTokensList
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;- Specified by:
getTokensListin interfaceDocument.PageOrBuilder
-
getTokensOrBuilderList
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;- Specified by:
getTokensOrBuilderListin interfaceDocument.PageOrBuilder
-
getTokensCount
public int getTokensCount()A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;- Specified by:
getTokensCountin interfaceDocument.PageOrBuilder
-
getTokens
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;- Specified by:
getTokensin interfaceDocument.PageOrBuilder
-
getTokensOrBuilder
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;- Specified by:
getTokensOrBuilderin interfaceDocument.PageOrBuilder
-
getVisualElementsList
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;- Specified by:
getVisualElementsListin interfaceDocument.PageOrBuilder
-
getVisualElementsOrBuilderList
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;- Specified by:
getVisualElementsOrBuilderListin interfaceDocument.PageOrBuilder
-
getVisualElementsCount
public int getVisualElementsCount()A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;- Specified by:
getVisualElementsCountin interfaceDocument.PageOrBuilder
-
getVisualElements
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;- Specified by:
getVisualElementsin interfaceDocument.PageOrBuilder
-
getVisualElementsOrBuilder
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;- Specified by:
getVisualElementsOrBuilderin interfaceDocument.PageOrBuilder
-
getTablesList
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;- Specified by:
getTablesListin interfaceDocument.PageOrBuilder
-
getTablesOrBuilderList
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;- Specified by:
getTablesOrBuilderListin interfaceDocument.PageOrBuilder
-
getTablesCount
public int getTablesCount()A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;- Specified by:
getTablesCountin interfaceDocument.PageOrBuilder
-
getTables
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;- Specified by:
getTablesin interfaceDocument.PageOrBuilder
-
getTablesOrBuilder
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;- Specified by:
getTablesOrBuilderin interfaceDocument.PageOrBuilder
-
getFormFieldsList
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;- Specified by:
getFormFieldsListin interfaceDocument.PageOrBuilder
-
getFormFieldsOrBuilderList
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;- Specified by:
getFormFieldsOrBuilderListin interfaceDocument.PageOrBuilder
-
getFormFieldsCount
public int getFormFieldsCount()A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;- Specified by:
getFormFieldsCountin interfaceDocument.PageOrBuilder
-
getFormFields
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;- Specified by:
getFormFieldsin interfaceDocument.PageOrBuilder
-
getFormFieldsOrBuilder
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;- Specified by:
getFormFieldsOrBuilderin interfaceDocument.PageOrBuilder
-
getSymbolsList
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;- Specified by:
getSymbolsListin interfaceDocument.PageOrBuilder
-
getSymbolsOrBuilderList
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;- Specified by:
getSymbolsOrBuilderListin interfaceDocument.PageOrBuilder
-
getSymbolsCount
public int getSymbolsCount()A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;- Specified by:
getSymbolsCountin interfaceDocument.PageOrBuilder
-
getSymbols
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;- Specified by:
getSymbolsin interfaceDocument.PageOrBuilder
-
getSymbolsOrBuilder
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;- Specified by:
getSymbolsOrBuilderin interfaceDocument.PageOrBuilder
-
getDetectedBarcodesList
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;- Specified by:
getDetectedBarcodesListin interfaceDocument.PageOrBuilder
-
getDetectedBarcodesOrBuilderList
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;- Specified by:
getDetectedBarcodesOrBuilderListin interfaceDocument.PageOrBuilder
-
getDetectedBarcodesCount
public int getDetectedBarcodesCount()A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;- Specified by:
getDetectedBarcodesCountin interfaceDocument.PageOrBuilder
-
getDetectedBarcodes
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;- Specified by:
getDetectedBarcodesin interfaceDocument.PageOrBuilder
-
getDetectedBarcodesOrBuilder
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;- Specified by:
getDetectedBarcodesOrBuilderin interfaceDocument.PageOrBuilder
-
hasImageQualityScores
public boolean hasImageQualityScores()Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;- Specified by:
hasImageQualityScoresin interfaceDocument.PageOrBuilder- Returns:
- Whether the imageQualityScores field is set.
-
getImageQualityScores
Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;- Specified by:
getImageQualityScoresin interfaceDocument.PageOrBuilder- Returns:
- The imageQualityScores.
-
getImageQualityScoresOrBuilder
Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;- Specified by:
getImageQualityScoresOrBuilderin interfaceDocument.PageOrBuilder
-
hasProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];- Specified by:
hasProvenancein interfaceDocument.PageOrBuilder- Returns:
- Whether the provenance field is set.
-
getProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];- Specified by:
getProvenancein interfaceDocument.PageOrBuilder- Returns:
- The provenance.
-
getProvenanceOrBuilder
Deprecated.The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];- Specified by:
getProvenanceOrBuilderin interfaceDocument.PageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Document.Page parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Document.Page parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Document.Page parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Document.Page parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Document.Page parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Document.Page parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Document.Page.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-