Interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig,DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder
- Enclosing class:
- DocumentProcessingConfig.ParsingConfig
public static interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.getExcludeHtmlClasses(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlClassesBytes(int index) Optional.intOptional.Optional.getExcludeHtmlElements(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlElementsBytes(int index) Optional.intOptional.Optional.getExcludeHtmlIds(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlIdsBytes(int index) Optional.intOptional.Optional.getStructuredContentTypes(int index) Optional.com.google.protobuf.ByteStringgetStructuredContentTypesBytes(int index) Optional.intOptional.Optional.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
-
getEnableTableAnnotation
boolean getEnableTableAnnotation()Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableTableAnnotation.
-
getEnableImageAnnotation
boolean getEnableImageAnnotation()Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableImageAnnotation.
-
getStructuredContentTypesList
Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the structuredContentTypes.
-
getStructuredContentTypesCount
int getStructuredContentTypesCount()Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of structuredContentTypes.
-
getStructuredContentTypes
Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The structuredContentTypes at the given index.
-
getStructuredContentTypesBytes
com.google.protobuf.ByteString getStructuredContentTypesBytes(int index) Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the structuredContentTypes at the given index.
-
getExcludeHtmlElementsList
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the excludeHtmlElements.
-
getExcludeHtmlElementsCount
int getExcludeHtmlElementsCount()Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of excludeHtmlElements.
-
getExcludeHtmlElements
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlElements at the given index.
-
getExcludeHtmlElementsBytes
com.google.protobuf.ByteString getExcludeHtmlElementsBytes(int index) Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlElements at the given index.
-
getExcludeHtmlClassesList
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the excludeHtmlClasses.
-
getExcludeHtmlClassesCount
int getExcludeHtmlClassesCount()Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of excludeHtmlClasses.
-
getExcludeHtmlClasses
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlClasses at the given index.
-
getExcludeHtmlClassesBytes
com.google.protobuf.ByteString getExcludeHtmlClassesBytes(int index) Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlClasses at the given index.
-
getExcludeHtmlIdsList
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the excludeHtmlIds.
-
getExcludeHtmlIdsCount
int getExcludeHtmlIdsCount()Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of excludeHtmlIds.
-
getExcludeHtmlIds
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlIds at the given index.
-
getExcludeHtmlIdsBytes
com.google.protobuf.ByteString getExcludeHtmlIdsBytes(int index) Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlIds at the given index.
-