Package com.google.cloud.documentai.v1
Interface ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessOptions.LayoutConfig.ChunkingConfig,ProcessOptions.LayoutConfig.ChunkingConfig.Builder
- Enclosing class:
- ProcessOptions.LayoutConfig
public static interface ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.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
-
getChunkSize
int getChunkSize()Optional. The chunk sizes to use when splitting documents, in order of level.
int32 chunk_size = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The chunkSize.
-
getIncludeAncestorHeadings
boolean getIncludeAncestorHeadings()Optional. Whether or not to include ancestor headings when splitting.
bool include_ancestor_headings = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The includeAncestorHeadings.
-