Google Cloud Document Ai V1 Client - Class LayoutType (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Document Ai V1 Client class LayoutType.
The type of layout that is being referenced.
Protobuf type google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType
Namespace
Google \ Cloud \ DocumentAI \ V1 \ Document \ PageAnchor \ PageRef
Methods
Parameter |
Name |
Description |
value |
mixed
|
Parameter |
Name |
Description |
name |
mixed
|
Constants
Layout Unspecified.
Generated from protobuf enum LAYOUT_TYPE_UNSPECIFIED = 0;
References a
Page.blocks
element.
Generated from protobuf enum BLOCK = 1;
References a
Page.paragraphs
element.
Generated from protobuf enum PARAGRAPH = 2;
References a
Page.lines element.
Generated from protobuf enum LINE = 3;
References a
Page.tokens
element.
Generated from protobuf enum TOKEN = 4;
Refrrences a
Page.tables
element.
Generated from protobuf enum TABLE = 6;
References a
Page.form_fields
element.
Generated from protobuf enum FORM_FIELD = 7;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Document Ai V1 Client - Class LayoutType (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-document-ai/latest/V1.Document.PageAnchor.PageRef.LayoutType)\n- [2.2.2](/php/docs/reference/cloud-document-ai/2.2.2/V1.Document.PageAnchor.PageRef.LayoutType)\n- [2.1.3](/php/docs/reference/cloud-document-ai/2.1.3/V1.Document.PageAnchor.PageRef.LayoutType)\n- [2.0.0](/php/docs/reference/cloud-document-ai/2.0.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.14.0](/php/docs/reference/cloud-document-ai/1.14.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.13.1](/php/docs/reference/cloud-document-ai/1.13.1/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.12.2](/php/docs/reference/cloud-document-ai/1.12.2/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.9.0](/php/docs/reference/cloud-document-ai/1.9.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.8.2](/php/docs/reference/cloud-document-ai/1.8.2/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.7.0](/php/docs/reference/cloud-document-ai/1.7.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.6.0](/php/docs/reference/cloud-document-ai/1.6.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.5.0](/php/docs/reference/cloud-document-ai/1.5.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.4.0](/php/docs/reference/cloud-document-ai/1.4.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.3.0](/php/docs/reference/cloud-document-ai/1.3.0/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.2.2](/php/docs/reference/cloud-document-ai/1.2.2/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.1.1](/php/docs/reference/cloud-document-ai/1.1.1/V1.Document.PageAnchor.PageRef.LayoutType)\n- [1.0.1](/php/docs/reference/cloud-document-ai/1.0.1/V1.Document.PageAnchor.PageRef.LayoutType) \nReference documentation and code samples for the Google Cloud Document Ai V1 Client class LayoutType.\n\nThe type of layout that is being referenced.\n\nProtobuf type `google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DocumentAI \\\\ V1 \\\\ Document \\\\ PageAnchor \\\\ PageRef\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### LAYOUT_TYPE_UNSPECIFIED\n\n Value: 0\n\nLayout Unspecified.\n\nGenerated from protobuf enum `LAYOUT_TYPE_UNSPECIFIED = 0;`\n\n### BLOCK\n\n Value: 1\n\nReferences a\n[Page.blocks](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getBlocks__)\nelement.\n\nGenerated from protobuf enum `BLOCK = 1;`\n\n### PARAGRAPH\n\n Value: 2\n\nReferences a\n[Page.paragraphs](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getParagraphs__)\nelement.\n\nGenerated from protobuf enum `PARAGRAPH = 2;`\n\n### LINE\n\n Value: 3\n\nReferences a\n[Page.lines](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getLines__) element.\n\nGenerated from protobuf enum `LINE = 3;`\n\n### TOKEN\n\n Value: 4\n\nReferences a\n[Page.tokens](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getTokens__)\nelement.\n\nGenerated from protobuf enum `TOKEN = 4;`\n\n### VISUAL_ELEMENT\n\n Value: 5\n\nReferences a\n[Page.visual_elements](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getVisualElements__)\nelement.\n\nGenerated from protobuf enum `VISUAL_ELEMENT = 5;`\n\n### TABLE\n\n Value: 6\n\nRefrrences a\n[Page.tables](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getTables__)\nelement.\n\nGenerated from protobuf enum `TABLE = 6;`\n\n### FORM_FIELD\n\n Value: 7\n\nReferences a\n[Page.form_fields](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page#_Google_Cloud_DocumentAI_V1_Document_Page__getFormFields__)\nelement.\n\nGenerated from protobuf enum `FORM_FIELD = 7;`"]]