Class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
com.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder
- All Implemented Interfaces:
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
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.LayoutParsingConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllExcludeHtmlClasses(Iterable<String> values) Optional.addAllExcludeHtmlElements(Iterable<String> values) Optional.addAllExcludeHtmlIds(Iterable<String> values) Optional.addAllStructuredContentTypes(Iterable<String> values) Optional.addExcludeHtmlClasses(String value) Optional.addExcludeHtmlClassesBytes(com.google.protobuf.ByteString value) Optional.addExcludeHtmlElements(String value) Optional.addExcludeHtmlElementsBytes(com.google.protobuf.ByteString value) Optional.addExcludeHtmlIds(String value) Optional.addExcludeHtmlIdsBytes(com.google.protobuf.ByteString value) Optional.addStructuredContentTypes(String value) Optional.addStructuredContentTypesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.booleanOptional.getExcludeHtmlClasses(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlClassesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getExcludeHtmlElements(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlElementsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getExcludeHtmlIds(int index) Optional.com.google.protobuf.ByteStringgetExcludeHtmlIdsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getStructuredContentTypes(int index) Optional.com.google.protobuf.ByteStringgetStructuredContentTypesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnableImageAnnotation(boolean value) Optional.setEnableTableAnnotation(boolean value) Optional.setExcludeHtmlClasses(int index, String value) Optional.setExcludeHtmlElements(int index, String value) Optional.setExcludeHtmlIds(int index, String value) Optional.setStructuredContentTypes(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>
-
mergeFrom
public DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder>- Throws:
IOException
-
getEnableTableAnnotation
public 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];- Specified by:
getEnableTableAnnotationin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- The enableTableAnnotation.
-
setEnableTableAnnotation
public 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];- Parameters:
value- The enableTableAnnotation to set.- Returns:
- This builder for chaining.
-
clearEnableTableAnnotation
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];- Returns:
- This builder for chaining.
-
getEnableImageAnnotation
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];- Specified by:
getEnableImageAnnotationin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- The enableImageAnnotation.
-
setEnableImageAnnotation
public 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];- Parameters:
value- The enableImageAnnotation to set.- Returns:
- This builder for chaining.
-
clearEnableImageAnnotation
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];- Returns:
- This builder for chaining.
-
getStructuredContentTypesList
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];- Specified by:
getStructuredContentTypesListin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- A list containing the structuredContentTypes.
-
getStructuredContentTypesCount
public 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];- Specified by:
getStructuredContentTypesCountin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- 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];- Specified by:
getStructuredContentTypesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The structuredContentTypes at the given index.
-
getStructuredContentTypesBytes
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];- Specified by:
getStructuredContentTypesBytesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the structuredContentTypes at the given index.
-
setStructuredContentTypes
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];- Parameters:
index- The index to set the value at.value- The structuredContentTypes to set.- Returns:
- This builder for chaining.
-
addStructuredContentTypes
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];- Parameters:
value- The structuredContentTypes to add.- Returns:
- This builder for chaining.
-
addAllStructuredContentTypes
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];- Parameters:
values- The structuredContentTypes to add.- Returns:
- This builder for chaining.
-
clearStructuredContentTypes
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];- Returns:
- This builder for chaining.
-
addStructuredContentTypesBytes
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];- Parameters:
value- The bytes of the structuredContentTypes to add.- Returns:
- This builder for chaining.
-
getExcludeHtmlElementsList
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];- Specified by:
getExcludeHtmlElementsListin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- A list containing the excludeHtmlElements.
-
getExcludeHtmlElementsCount
public int getExcludeHtmlElementsCount()Optional. List of HTML elements to exclude from the parsed content.
repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeHtmlElementsCountin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- 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];- Specified by:
getExcludeHtmlElementsin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlElements at the given index.
-
getExcludeHtmlElementsBytes
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];- Specified by:
getExcludeHtmlElementsBytesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlElements at the given index.
-
setExcludeHtmlElements
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];- Parameters:
index- The index to set the value at.value- The excludeHtmlElements to set.- Returns:
- This builder for chaining.
-
addExcludeHtmlElements
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];- Parameters:
value- The excludeHtmlElements to add.- Returns:
- This builder for chaining.
-
addAllExcludeHtmlElements
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];- Parameters:
values- The excludeHtmlElements to add.- Returns:
- This builder for chaining.
-
clearExcludeHtmlElements
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];- Returns:
- This builder for chaining.
-
addExcludeHtmlElementsBytes
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];- Parameters:
value- The bytes of the excludeHtmlElements to add.- Returns:
- This builder for chaining.
-
getExcludeHtmlClassesList
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];- Specified by:
getExcludeHtmlClassesListin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- A list containing the excludeHtmlClasses.
-
getExcludeHtmlClassesCount
public int getExcludeHtmlClassesCount()Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeHtmlClassesCountin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- 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];- Specified by:
getExcludeHtmlClassesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlClasses at the given index.
-
getExcludeHtmlClassesBytes
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];- Specified by:
getExcludeHtmlClassesBytesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlClasses at the given index.
-
setExcludeHtmlClasses
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];- Parameters:
index- The index to set the value at.value- The excludeHtmlClasses to set.- Returns:
- This builder for chaining.
-
addExcludeHtmlClasses
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];- Parameters:
value- The excludeHtmlClasses to add.- Returns:
- This builder for chaining.
-
addAllExcludeHtmlClasses
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];- Parameters:
values- The excludeHtmlClasses to add.- Returns:
- This builder for chaining.
-
clearExcludeHtmlClasses
Optional. List of HTML classes to exclude from the parsed content.
repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addExcludeHtmlClassesBytes
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];- Parameters:
value- The bytes of the excludeHtmlClasses to add.- Returns:
- This builder for chaining.
-
getExcludeHtmlIdsList
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];- Specified by:
getExcludeHtmlIdsListin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Returns:
- A list containing the excludeHtmlIds.
-
getExcludeHtmlIdsCount
public int getExcludeHtmlIdsCount()Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeHtmlIdsCountin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- 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];- Specified by:
getExcludeHtmlIdsin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludeHtmlIds at the given index.
-
getExcludeHtmlIdsBytes
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];- Specified by:
getExcludeHtmlIdsBytesin interfaceDocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeHtmlIds at the given index.
-
setExcludeHtmlIds
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];- Parameters:
index- The index to set the value at.value- The excludeHtmlIds to set.- Returns:
- This builder for chaining.
-
addExcludeHtmlIds
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];- Parameters:
value- The excludeHtmlIds to add.- Returns:
- This builder for chaining.
-
addAllExcludeHtmlIds
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];- Parameters:
values- The excludeHtmlIds to add.- Returns:
- This builder for chaining.
-
clearExcludeHtmlIds
Optional. List of HTML ids to exclude from the parsed content.
repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addExcludeHtmlIdsBytes
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];- Parameters:
value- The bytes of the excludeHtmlIds to add.- Returns:
- This builder for chaining.
-