public static final class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder> implements DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder
The layout parsing configurations for documents.Protobuf type
google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>IOExceptionpublic 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];getEnableTableAnnotation in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setEnableTableAnnotation(boolean value)
Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];value - The enableTableAnnotation to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearEnableTableAnnotation()
Optional. If true, the LLM based annotation is added to the table during parsing.
bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];public 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];getEnableImageAnnotation in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setEnableImageAnnotation(boolean value)
Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];value - The enableImageAnnotation to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearEnableImageAnnotation()
Optional. If true, the LLM based annotation is added to the image during parsing.
bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.ProtocolStringList 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];
getStructuredContentTypesList in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic 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];
getStructuredContentTypesCount in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic String getStructuredContentTypes(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];
getStructuredContentTypes in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the element to return.public 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];
getStructuredContentTypesBytes in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the value to return.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setStructuredContentTypes(int index, String value)
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];
index - The index to set the value at.value - The structuredContentTypes to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addStructuredContentTypes(String value)
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];
value - The structuredContentTypes to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllStructuredContentTypes(Iterable<String> values)
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];
values - The structuredContentTypes to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearStructuredContentTypes()
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];
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addStructuredContentTypesBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the structuredContentTypes to add.public com.google.protobuf.ProtocolStringList getExcludeHtmlElementsList()
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlElementsList in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic int getExcludeHtmlElementsCount()
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlElementsCount in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic String getExcludeHtmlElements(int index)
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlElements in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the element to return.public 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];
getExcludeHtmlElementsBytes in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the value to return.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlElements(int index, String value)
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The excludeHtmlElements to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlElements(String value)
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
value - The excludeHtmlElements to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlElements(Iterable<String> values)
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
values - The excludeHtmlElements to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlElements()
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlElementsBytes(com.google.protobuf.ByteString value)
Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes of the excludeHtmlElements to add.public com.google.protobuf.ProtocolStringList getExcludeHtmlClassesList()
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlClassesList in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic int getExcludeHtmlClassesCount()
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlClassesCount in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic String getExcludeHtmlClasses(int index)
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlClasses in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the element to return.public 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];
getExcludeHtmlClassesBytes in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the value to return.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlClasses(int index, String value)
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The excludeHtmlClasses to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlClasses(String value)
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The excludeHtmlClasses to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlClasses(Iterable<String> values)
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
values - The excludeHtmlClasses to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlClasses()
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlClassesBytes(com.google.protobuf.ByteString value)
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes of the excludeHtmlClasses to add.public com.google.protobuf.ProtocolStringList getExcludeHtmlIdsList()
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlIdsList in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic int getExcludeHtmlIdsCount()
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlIdsCount in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderpublic String getExcludeHtmlIds(int index)
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
getExcludeHtmlIds in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the element to return.public 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];
getExcludeHtmlIdsBytes in interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilderindex - The index of the value to return.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder setExcludeHtmlIds(int index, String value)
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
index - The index to set the value at.value - The excludeHtmlIds to set.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlIds(String value)
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The excludeHtmlIds to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addAllExcludeHtmlIds(Iterable<String> values)
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
values - The excludeHtmlIds to add.public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder clearExcludeHtmlIds()
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder addExcludeHtmlIdsBytes(com.google.protobuf.ByteString value)
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The bytes of the excludeHtmlIds to add.Copyright © 2026 Google LLC. All rights reserved.