Interface ProcessOptions.LayoutConfigOrBuilder (2.66.0)

public static interface ProcessOptions.LayoutConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunkingConfig()

public abstract ProcessOptions.LayoutConfig.ChunkingConfig getChunkingConfig()

Optional. Config for chunking in layout parser processor.

.google.cloud.documentai.v1.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.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder

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.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the chunkingConfig field is set.