public static final class Document.Page extends com.google.protobuf.GeneratedMessageV3 implements Document.PageOrBuilder
A page in a [Document][google.cloud.documentai.v1beta3.Document].Protobuf type
google.cloud.documentai.v1beta3.Document.Page| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Page.Block
A block has a set of lines (collected into paragraphs) that have a
common line-spacing and orientation.
|
static interface |
Document.Page.BlockOrBuilder |
static class |
Document.Page.Builder
A page in a [Document][google.cloud.documentai.v1beta3.Document].
|
static class |
Document.Page.DetectedBarcode
A detected barcode.
|
static interface |
Document.Page.DetectedBarcodeOrBuilder |
static class |
Document.Page.DetectedLanguage
Detected language for a structural component.
|
static interface |
Document.Page.DetectedLanguageOrBuilder |
static class |
Document.Page.Dimension
Dimension for the page.
|
static interface |
Document.Page.DimensionOrBuilder |
static class |
Document.Page.FormField
A form field detected on the page.
|
static interface |
Document.Page.FormFieldOrBuilder |
static class |
Document.Page.Image
Rendered image contents for this page.
|
static interface |
Document.Page.ImageOrBuilder |
static class |
Document.Page.ImageQualityScores
Image quality scores for the page image.
|
static interface |
Document.Page.ImageQualityScoresOrBuilder |
static class |
Document.Page.Layout
Visual element describing a layout unit on a page.
|
static interface |
Document.Page.LayoutOrBuilder |
static class |
Document.Page.Line
A collection of tokens that a human would perceive as a line.
|
static interface |
Document.Page.LineOrBuilder |
static class |
Document.Page.Matrix
Representation for transformation matrix, intended to be compatible and
used with OpenCV format for image manipulation.
|
static interface |
Document.Page.MatrixOrBuilder |
static class |
Document.Page.Paragraph
A collection of lines that a human would perceive as a paragraph.
|
static interface |
Document.Page.ParagraphOrBuilder |
static class |
Document.Page.Symbol
A detected symbol.
|
static interface |
Document.Page.SymbolOrBuilder |
static class |
Document.Page.Table
A table representation similar to HTML table structure.
|
static interface |
Document.Page.TableOrBuilder |
static class |
Document.Page.Token
A detected token.
|
static interface |
Document.Page.TokenOrBuilder |
static class |
Document.Page.VisualElement
Detected non-text visual elements e.g. checkbox, signature etc. on the
page.
|
static interface |
Document.Page.VisualElementOrBuilder |
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 |
BLOCKS_FIELD_NUMBER |
static int |
DETECTED_BARCODES_FIELD_NUMBER |
static int |
DETECTED_LANGUAGES_FIELD_NUMBER |
static int |
DIMENSION_FIELD_NUMBER |
static int |
FORM_FIELDS_FIELD_NUMBER |
static int |
IMAGE_FIELD_NUMBER |
static int |
IMAGE_QUALITY_SCORES_FIELD_NUMBER |
static int |
LAYOUT_FIELD_NUMBER |
static int |
LINES_FIELD_NUMBER |
static int |
PAGE_NUMBER_FIELD_NUMBER |
static int |
PARAGRAPHS_FIELD_NUMBER |
static int |
PROVENANCE_FIELD_NUMBER |
static int |
SYMBOLS_FIELD_NUMBER |
static int |
TABLES_FIELD_NUMBER |
static int |
TOKENS_FIELD_NUMBER |
static int |
TRANSFORMS_FIELD_NUMBER |
static int |
VISUAL_ELEMENTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Document.Page.Block |
getBlocks(int index)
A list of visually detected text blocks on the page.
|
int |
getBlocksCount()
A list of visually detected text blocks on the page.
|
List<Document.Page.Block> |
getBlocksList()
A list of visually detected text blocks on the page.
|
Document.Page.BlockOrBuilder |
getBlocksOrBuilder(int index)
A list of visually detected text blocks on the page.
|
List<? extends Document.Page.BlockOrBuilder> |
getBlocksOrBuilderList()
A list of visually detected text blocks on the page.
|
static Document.Page |
getDefaultInstance() |
Document.Page |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Document.Page.DetectedBarcode |
getDetectedBarcodes(int index)
A list of detected barcodes.
|
int |
getDetectedBarcodesCount()
A list of detected barcodes.
|
List<Document.Page.DetectedBarcode> |
getDetectedBarcodesList()
A list of detected barcodes.
|
Document.Page.DetectedBarcodeOrBuilder |
getDetectedBarcodesOrBuilder(int index)
A list of detected barcodes.
|
List<? extends Document.Page.DetectedBarcodeOrBuilder> |
getDetectedBarcodesOrBuilderList()
A list of detected barcodes.
|
Document.Page.DetectedLanguage |
getDetectedLanguages(int index)
A list of detected languages together with confidence.
|
int |
getDetectedLanguagesCount()
A list of detected languages together with confidence.
|
List<Document.Page.DetectedLanguage> |
getDetectedLanguagesList()
A list of detected languages together with confidence.
|
Document.Page.DetectedLanguageOrBuilder |
getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
|
List<? extends Document.Page.DetectedLanguageOrBuilder> |
getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
|
Document.Page.Dimension |
getDimension()
Physical dimension of the page.
|
Document.Page.DimensionOrBuilder |
getDimensionOrBuilder()
Physical dimension of the page.
|
Document.Page.FormField |
getFormFields(int index)
A list of visually detected form fields on the page.
|
int |
getFormFieldsCount()
A list of visually detected form fields on the page.
|
List<Document.Page.FormField> |
getFormFieldsList()
A list of visually detected form fields on the page.
|
Document.Page.FormFieldOrBuilder |
getFormFieldsOrBuilder(int index)
A list of visually detected form fields on the page.
|
List<? extends Document.Page.FormFieldOrBuilder> |
getFormFieldsOrBuilderList()
A list of visually detected form fields on the page.
|
Document.Page.Image |
getImage()
Rendered image for this page.
|
Document.Page.ImageOrBuilder |
getImageOrBuilder()
Rendered image for this page.
|
Document.Page.ImageQualityScores |
getImageQualityScores()
Image quality scores.
|
Document.Page.ImageQualityScoresOrBuilder |
getImageQualityScoresOrBuilder()
Image quality scores.
|
Document.Page.Layout |
getLayout()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the
page.
|
Document.Page.LayoutOrBuilder |
getLayoutOrBuilder()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the
page.
|
Document.Page.Line |
getLines(int index)
A list of visually detected text lines on the page.
|
int |
getLinesCount()
A list of visually detected text lines on the page.
|
List<Document.Page.Line> |
getLinesList()
A list of visually detected text lines on the page.
|
Document.Page.LineOrBuilder |
getLinesOrBuilder(int index)
A list of visually detected text lines on the page.
|
List<? extends Document.Page.LineOrBuilder> |
getLinesOrBuilderList()
A list of visually detected text lines on the page.
|
int |
getPageNumber()
1-based index for current
[Page][google.cloud.documentai.v1beta3.Document.Page] in a parent
[Document][google.cloud.documentai.v1beta3.Document].
|
Document.Page.Paragraph |
getParagraphs(int index)
A list of visually detected text paragraphs on the page.
|
int |
getParagraphsCount()
A list of visually detected text paragraphs on the page.
|
List<Document.Page.Paragraph> |
getParagraphsList()
A list of visually detected text paragraphs on the page.
|
Document.Page.ParagraphOrBuilder |
getParagraphsOrBuilder(int index)
A list of visually detected text paragraphs on the page.
|
List<? extends Document.Page.ParagraphOrBuilder> |
getParagraphsOrBuilderList()
A list of visually detected text paragraphs on the page.
|
com.google.protobuf.Parser<Document.Page> |
getParserForType() |
Document.Provenance |
getProvenance()
Deprecated.
google.cloud.documentai.v1beta3.Document.Page.provenance is deprecated. See
google/cloud/documentai/v1beta3/document.proto;l=551
|
Document.ProvenanceOrBuilder |
getProvenanceOrBuilder()
Deprecated.
|
int |
getSerializedSize() |
Document.Page.Symbol |
getSymbols(int index)
A list of visually detected symbols on the page.
|
int |
getSymbolsCount()
A list of visually detected symbols on the page.
|
List<Document.Page.Symbol> |
getSymbolsList()
A list of visually detected symbols on the page.
|
Document.Page.SymbolOrBuilder |
getSymbolsOrBuilder(int index)
A list of visually detected symbols on the page.
|
List<? extends Document.Page.SymbolOrBuilder> |
getSymbolsOrBuilderList()
A list of visually detected symbols on the page.
|
Document.Page.Table |
getTables(int index)
A list of visually detected tables on the page.
|
int |
getTablesCount()
A list of visually detected tables on the page.
|
List<Document.Page.Table> |
getTablesList()
A list of visually detected tables on the page.
|
Document.Page.TableOrBuilder |
getTablesOrBuilder(int index)
A list of visually detected tables on the page.
|
List<? extends Document.Page.TableOrBuilder> |
getTablesOrBuilderList()
A list of visually detected tables on the page.
|
Document.Page.Token |
getTokens(int index)
A list of visually detected tokens on the page.
|
int |
getTokensCount()
A list of visually detected tokens on the page.
|
List<Document.Page.Token> |
getTokensList()
A list of visually detected tokens on the page.
|
Document.Page.TokenOrBuilder |
getTokensOrBuilder(int index)
A list of visually detected tokens on the page.
|
List<? extends Document.Page.TokenOrBuilder> |
getTokensOrBuilderList()
A list of visually detected tokens on the page.
|
Document.Page.Matrix |
getTransforms(int index)
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
|
int |
getTransformsCount()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
|
List<Document.Page.Matrix> |
getTransformsList()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
|
Document.Page.MatrixOrBuilder |
getTransformsOrBuilder(int index)
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
|
List<? extends Document.Page.MatrixOrBuilder> |
getTransformsOrBuilderList()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
|
Document.Page.VisualElement |
getVisualElements(int index)
A list of detected non-text visual elements e.g. checkbox,
signature etc. on the page.
|
int |
getVisualElementsCount()
A list of detected non-text visual elements e.g. checkbox,
signature etc. on the page.
|
List<Document.Page.VisualElement> |
getVisualElementsList()
A list of detected non-text visual elements e.g. checkbox,
signature etc. on the page.
|
Document.Page.VisualElementOrBuilder |
getVisualElementsOrBuilder(int index)
A list of detected non-text visual elements e.g. checkbox,
signature etc. on the page.
|
List<? extends Document.Page.VisualElementOrBuilder> |
getVisualElementsOrBuilderList()
A list of detected non-text visual elements e.g. checkbox,
signature etc. on the page.
|
boolean |
hasDimension()
Physical dimension of the page.
|
int |
hashCode() |
boolean |
hasImage()
Rendered image for this page.
|
boolean |
hasImageQualityScores()
Image quality scores.
|
boolean |
hasLayout()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the
page.
|
boolean |
hasProvenance()
Deprecated.
google.cloud.documentai.v1beta3.Document.Page.provenance is deprecated. See
google/cloud/documentai/v1beta3/document.proto;l=551
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Document.Page.Builder |
newBuilder() |
static Document.Page.Builder |
newBuilder(Document.Page prototype) |
Document.Page.Builder |
newBuilderForType() |
protected Document.Page.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Document.Page |
parseDelimitedFrom(InputStream input) |
static Document.Page |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Page |
parseFrom(byte[] data) |
static Document.Page |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Page |
parseFrom(ByteBuffer data) |
static Document.Page |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Page |
parseFrom(com.google.protobuf.ByteString data) |
static Document.Page |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Page |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Document.Page |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Page |
parseFrom(InputStream input) |
static Document.Page |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Document.Page> |
parser() |
Document.Page.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, 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 PAGE_NUMBER_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
public static final int TRANSFORMS_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER
public static final int DETECTED_LANGUAGES_FIELD_NUMBER
public static final int BLOCKS_FIELD_NUMBER
public static final int PARAGRAPHS_FIELD_NUMBER
public static final int LINES_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
public static final int VISUAL_ELEMENTS_FIELD_NUMBER
public static final int TABLES_FIELD_NUMBER
public static final int FORM_FIELDS_FIELD_NUMBER
public static final int SYMBOLS_FIELD_NUMBER
public static final int DETECTED_BARCODES_FIELD_NUMBER
public static final int IMAGE_QUALITY_SCORES_FIELD_NUMBER
public static final int PROVENANCE_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 int getPageNumber()
1-based index for current [Page][google.cloud.documentai.v1beta3.Document.Page] in a parent [Document][google.cloud.documentai.v1beta3.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1beta3.Document] for individual processing.
int32 page_number = 1;getPageNumber in interface Document.PageOrBuilderpublic 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.v1beta3.Document.Page.Image image = 13;hasImage in interface Document.PageOrBuilderpublic Document.Page.Image 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.v1beta3.Document.Page.Image image = 13;getImage in interface Document.PageOrBuilderpublic Document.Page.ImageOrBuilder 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.v1beta3.Document.Page.Image image = 13;getImageOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Matrix> getTransformsList()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
repeated .google.cloud.documentai.v1beta3.Document.Page.Matrix transforms = 14;getTransformsList in interface Document.PageOrBuilderpublic List<? extends Document.Page.MatrixOrBuilder> getTransformsOrBuilderList()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
repeated .google.cloud.documentai.v1beta3.Document.Page.Matrix transforms = 14;getTransformsOrBuilderList in interface Document.PageOrBuilderpublic int getTransformsCount()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
repeated .google.cloud.documentai.v1beta3.Document.Page.Matrix transforms = 14;getTransformsCount in interface Document.PageOrBuilderpublic Document.Page.Matrix getTransforms(int index)
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
repeated .google.cloud.documentai.v1beta3.Document.Page.Matrix transforms = 14;getTransforms in interface Document.PageOrBuilderpublic Document.Page.MatrixOrBuilder getTransformsOrBuilder(int index)
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta3.Document.Page.image].
repeated .google.cloud.documentai.v1beta3.Document.Page.Matrix transforms = 14;getTransformsOrBuilder in interface Document.PageOrBuilderpublic boolean hasDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta3.Document.Page.Dimension dimension = 2;hasDimension in interface Document.PageOrBuilderpublic Document.Page.Dimension getDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta3.Document.Page.Dimension dimension = 2;getDimension in interface Document.PageOrBuilderpublic Document.Page.DimensionOrBuilder getDimensionOrBuilder()
Physical dimension of the page.
.google.cloud.documentai.v1beta3.Document.Page.Dimension dimension = 2;getDimensionOrBuilder in interface Document.PageOrBuilderpublic boolean hasLayout()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 3;hasLayout in interface Document.PageOrBuilderpublic Document.Page.Layout getLayout()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 3;getLayout in interface Document.PageOrBuilderpublic Document.Page.LayoutOrBuilder getLayoutOrBuilder()
[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 3;getLayoutOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguagesList in interface Document.PageOrBuilderpublic List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguagesOrBuilderList in interface Document.PageOrBuilderpublic int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguagesCount in interface Document.PageOrBuilderpublic Document.Page.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguages in interface Document.PageOrBuilderpublic Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguagesOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Block> 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.v1beta3.Document.Page.Block blocks = 5;getBlocksList in interface Document.PageOrBuilderpublic List<? extends Document.Page.BlockOrBuilder> 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.v1beta3.Document.Page.Block blocks = 5;getBlocksOrBuilderList in interface Document.PageOrBuilderpublic 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.v1beta3.Document.Page.Block blocks = 5;getBlocksCount in interface Document.PageOrBuilderpublic Document.Page.Block getBlocks(int index)
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.v1beta3.Document.Page.Block blocks = 5;getBlocks in interface Document.PageOrBuilderpublic Document.Page.BlockOrBuilder getBlocksOrBuilder(int index)
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.v1beta3.Document.Page.Block blocks = 5;getBlocksOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Paragraph> 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.v1beta3.Document.Page.Paragraph paragraphs = 6;
getParagraphsList in interface Document.PageOrBuilderpublic List<? extends Document.Page.ParagraphOrBuilder> 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.v1beta3.Document.Page.Paragraph paragraphs = 6;
getParagraphsOrBuilderList in interface Document.PageOrBuilderpublic 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.v1beta3.Document.Page.Paragraph paragraphs = 6;
getParagraphsCount in interface Document.PageOrBuilderpublic Document.Page.Paragraph getParagraphs(int index)
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.v1beta3.Document.Page.Paragraph paragraphs = 6;
getParagraphs in interface Document.PageOrBuilderpublic Document.Page.ParagraphOrBuilder getParagraphsOrBuilder(int index)
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.v1beta3.Document.Page.Paragraph paragraphs = 6;
getParagraphsOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Line> 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.v1beta3.Document.Page.Line lines = 7;getLinesList in interface Document.PageOrBuilderpublic List<? extends Document.Page.LineOrBuilder> 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.v1beta3.Document.Page.Line lines = 7;getLinesOrBuilderList in interface Document.PageOrBuilderpublic 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.v1beta3.Document.Page.Line lines = 7;getLinesCount in interface Document.PageOrBuilderpublic Document.Page.Line getLines(int index)
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.v1beta3.Document.Page.Line lines = 7;getLines in interface Document.PageOrBuilderpublic Document.Page.LineOrBuilder getLinesOrBuilder(int index)
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.v1beta3.Document.Page.Line lines = 7;getLinesOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Token> getTokensList()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Token tokens = 8;getTokensList in interface Document.PageOrBuilderpublic List<? extends Document.Page.TokenOrBuilder> getTokensOrBuilderList()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Token tokens = 8;getTokensOrBuilderList in interface Document.PageOrBuilderpublic int getTokensCount()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Token tokens = 8;getTokensCount in interface Document.PageOrBuilderpublic Document.Page.Token getTokens(int index)
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Token tokens = 8;getTokens in interface Document.PageOrBuilderpublic Document.Page.TokenOrBuilder getTokensOrBuilder(int index)
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Token tokens = 8;getTokensOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.VisualElement> getVisualElementsList()
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.VisualElement visual_elements = 9;
getVisualElementsList in interface Document.PageOrBuilderpublic List<? extends Document.Page.VisualElementOrBuilder> getVisualElementsOrBuilderList()
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.VisualElement visual_elements = 9;
getVisualElementsOrBuilderList in interface Document.PageOrBuilderpublic int getVisualElementsCount()
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.VisualElement visual_elements = 9;
getVisualElementsCount in interface Document.PageOrBuilderpublic Document.Page.VisualElement getVisualElements(int index)
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.VisualElement visual_elements = 9;
getVisualElements in interface Document.PageOrBuilderpublic Document.Page.VisualElementOrBuilder getVisualElementsOrBuilder(int index)
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.VisualElement visual_elements = 9;
getVisualElementsOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Table> getTablesList()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table tables = 10;getTablesList in interface Document.PageOrBuilderpublic List<? extends Document.Page.TableOrBuilder> getTablesOrBuilderList()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table tables = 10;getTablesOrBuilderList in interface Document.PageOrBuilderpublic int getTablesCount()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table tables = 10;getTablesCount in interface Document.PageOrBuilderpublic Document.Page.Table getTables(int index)
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table tables = 10;getTables in interface Document.PageOrBuilderpublic Document.Page.TableOrBuilder getTablesOrBuilder(int index)
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table tables = 10;getTablesOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.FormField> getFormFieldsList()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;
getFormFieldsList in interface Document.PageOrBuilderpublic List<? extends Document.Page.FormFieldOrBuilder> getFormFieldsOrBuilderList()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;
getFormFieldsOrBuilderList in interface Document.PageOrBuilderpublic int getFormFieldsCount()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;
getFormFieldsCount in interface Document.PageOrBuilderpublic Document.Page.FormField getFormFields(int index)
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;
getFormFields in interface Document.PageOrBuilderpublic Document.Page.FormFieldOrBuilder getFormFieldsOrBuilder(int index)
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;
getFormFieldsOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.Symbol> getSymbolsList()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Symbol symbols = 12;getSymbolsList in interface Document.PageOrBuilderpublic List<? extends Document.Page.SymbolOrBuilder> getSymbolsOrBuilderList()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Symbol symbols = 12;getSymbolsOrBuilderList in interface Document.PageOrBuilderpublic int getSymbolsCount()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Symbol symbols = 12;getSymbolsCount in interface Document.PageOrBuilderpublic Document.Page.Symbol getSymbols(int index)
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Symbol symbols = 12;getSymbols in interface Document.PageOrBuilderpublic Document.Page.SymbolOrBuilder getSymbolsOrBuilder(int index)
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta3.Document.Page.Symbol symbols = 12;getSymbolsOrBuilder in interface Document.PageOrBuilderpublic List<Document.Page.DetectedBarcode> getDetectedBarcodesList()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;
getDetectedBarcodesList in interface Document.PageOrBuilderpublic List<? extends Document.Page.DetectedBarcodeOrBuilder> getDetectedBarcodesOrBuilderList()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;
getDetectedBarcodesOrBuilderList in interface Document.PageOrBuilderpublic int getDetectedBarcodesCount()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;
getDetectedBarcodesCount in interface Document.PageOrBuilderpublic Document.Page.DetectedBarcode getDetectedBarcodes(int index)
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;
getDetectedBarcodes in interface Document.PageOrBuilderpublic Document.Page.DetectedBarcodeOrBuilder getDetectedBarcodesOrBuilder(int index)
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;
getDetectedBarcodesOrBuilder in interface Document.PageOrBuilderpublic boolean hasImageQualityScores()
Image quality scores.
.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores image_quality_scores = 17;
hasImageQualityScores in interface Document.PageOrBuilderpublic Document.Page.ImageQualityScores getImageQualityScores()
Image quality scores.
.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores image_quality_scores = 17;
getImageQualityScores in interface Document.PageOrBuilderpublic Document.Page.ImageQualityScoresOrBuilder getImageQualityScoresOrBuilder()
Image quality scores.
.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores image_quality_scores = 17;
getImageQualityScoresOrBuilder in interface Document.PageOrBuilder@Deprecated public boolean hasProvenance()
The history of this page.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 16 [deprecated = true];
hasProvenance in interface Document.PageOrBuilder@Deprecated public Document.Provenance getProvenance()
The history of this page.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 16 [deprecated = true];
getProvenance in interface Document.PageOrBuilder@Deprecated public Document.ProvenanceOrBuilder getProvenanceOrBuilder()
The history of this page.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 16 [deprecated = true];
getProvenanceOrBuilder in interface Document.PageOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Page parseFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Page parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Page parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Page parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Page parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Document.Page parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Document.Page.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Document.Page.Builder newBuilder()
public static Document.Page.Builder newBuilder(Document.Page prototype)
public Document.Page.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Document.Page.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Document.Page getDefaultInstance()
public static com.google.protobuf.Parser<Document.Page> parser()
public com.google.protobuf.Parser<Document.Page> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Document.Page getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.