public static interface ProcessOptions.LayoutConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChunkingConfig()
public abstract ProcessOptions.LayoutConfig.ChunkingConfig getChunkingConfig()Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProcessOptions.LayoutConfig.ChunkingConfig |
The chunkingConfig. |
getChunkingConfigOrBuilder()
public abstract ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder getChunkingConfigOrBuilder()Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder |
|
getEnableImageAnnotation()
public abstract boolean getEnableImageAnnotation()Optional. Whether to include image annotations in layout parser response.
bool enable_image_annotation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableImageAnnotation. |
getEnableImageExtraction()
public abstract boolean getEnableImageExtraction()Optional. Whether to extract images in layout parser response.
bool enable_image_extraction = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableImageExtraction. |
getEnableLlmLayoutParsing()
public abstract boolean getEnableLlmLayoutParsing()Optional. Whether to refine PDF layout using LLM.
bool enable_llm_layout_parsing = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableLlmLayoutParsing. |
getEnableTableAnnotation()
public abstract boolean getEnableTableAnnotation()Optional. Whether to include table annotations in layout parser response.
bool enable_table_annotation = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableTableAnnotation. |
getReturnBoundingBoxes()
public abstract boolean getReturnBoundingBoxes()Optional. Whether to include bounding boxes in layout parser processor response.
bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The returnBoundingBoxes. |
getReturnImages()
public abstract boolean getReturnImages()Optional. Whether to include images in layout parser processor response.
bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The returnImages. |
hasChunkingConfig()
public abstract boolean hasChunkingConfig()Optional. Config for chunking in layout parser processor.
.google.cloud.documentai.v1beta3.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chunkingConfig field is set. |