Package com.google.cloud.documentai.v1
Interface ProcessOptions.LayoutConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessOptions.LayoutConfig,ProcessOptions.LayoutConfig.Builder
- Enclosing class:
- ProcessOptions
public static interface ProcessOptions.LayoutConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasChunkingConfig
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:
- Whether the chunkingConfig field is set.
-
getChunkingConfig
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:
- The chunkingConfig.
-
getChunkingConfigOrBuilder
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]; -
getReturnImages
boolean getReturnImages()Optional. Whether to include images in layout parser processor response.
bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The returnImages.
-
getReturnBoundingBoxes
boolean getReturnBoundingBoxes()Optional. Whether to include bounding boxes in layout parser processor response.
bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The returnBoundingBoxes.
-
getEnableImageAnnotation
boolean getEnableImageAnnotation()Optional. Whether to include image annotations in layout parser response.
bool enable_image_annotation = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableImageAnnotation.
-
getEnableTableAnnotation
boolean getEnableTableAnnotation()Optional. Whether to include table annotations in layout parser response.
bool enable_table_annotation = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableTableAnnotation.
-