Class DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig (0.72.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.72.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   extends   GeneratedMessageV3   implements   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfigOrBuilder  
   The layout parsing configurations for documents.
 Protobuf type 
 google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ENABLE_IMAGE_ANNOTATION_FIELD_NUMBER 
  
    
public   static   final   int   ENABLE_IMAGE_ANNOTATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ENABLE_TABLE_ANNOTATION_FIELD_NUMBER 
  
    
public   static   final   int   ENABLE_TABLE_ANNOTATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EXCLUDE_HTML_CLASSES_FIELD_NUMBER 
  
    
public   static   final   int   EXCLUDE_HTML_CLASSES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EXCLUDE_HTML_ELEMENTS_FIELD_NUMBER 
  
    
public   static   final   int   EXCLUDE_HTML_ELEMENTS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EXCLUDE_HTML_IDS_FIELD_NUMBER 
  
    
public   static   final   int   EXCLUDE_HTML_IDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STRUCTURED_CONTENT_TYPES_FIELD_NUMBER 
  
    
public   static   final   int   STRUCTURED_CONTENT_TYPES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig . Builder   newBuilder ()  
  
  newBuilder(DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig prototype) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig . Builder   newBuilder ( DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   prototype )  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig   getDefaultInstanceForType ()  
  
  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];
    
      
        Returns  
      
        Type Description  
      
        boolean The enableImageAnnotation.
 
     
  
  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];
    
      
        Returns  
      
        Type Description  
      
        boolean The enableTableAnnotation.
 
     
  
  getExcludeHtmlClasses(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The excludeHtmlClasses at the given index.
 
     
  
  getExcludeHtmlClassesBytes(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the excludeHtmlClasses at the given index.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of excludeHtmlClasses.
 
     
  
  getExcludeHtmlClassesList() 
  
    
public   ProtocolStringList   getExcludeHtmlClassesList ()  
   Optional. List of HTML classes to exclude from the parsed content.
 repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
 
getExcludeHtmlElements(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The excludeHtmlElements at the given index.
 
     
  
  getExcludeHtmlElementsBytes(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the excludeHtmlElements at the given index.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of excludeHtmlElements.
 
     
  
  getExcludeHtmlElementsList() 
  
    
public   ProtocolStringList   getExcludeHtmlElementsList ()  
   Optional. List of HTML elements to exclude from the parsed content.
 repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
 
getExcludeHtmlIds(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The excludeHtmlIds at the given index.
 
     
  
  getExcludeHtmlIdsBytes(int index) 
  
    
public   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];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the excludeHtmlIds at the given index.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of excludeHtmlIds.
 
     
  
  getExcludeHtmlIdsList() 
  
    
public   ProtocolStringList   getExcludeHtmlIdsList ()  
   Optional. List of HTML ids to exclude from the parsed content.
 repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
 
getParserForType() 
  
    
public   Parser<DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig >  getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getStructuredContentTypes(int index) 
  
    
public   String   getStructuredContentTypes ( int   index )  
   Optional. Contains the required structure types to extract from the
 document. Supported values:
 
 repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The structuredContentTypes at the given index.
 
     
  
  getStructuredContentTypesBytes(int index) 
  
    
public   ByteString   getStructuredContentTypesBytes ( int   index )  
   Optional. Contains the required structure types to extract from the
 document. Supported values:
 
 repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the structuredContentTypes at the given index.
 
     
  
  getStructuredContentTypesCount() 
  
    
public   int   getStructuredContentTypesCount ()  
   Optional. Contains the required structure types to extract from the
 document. Supported values:
 
 repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of structuredContentTypes.
 
     
  
  getStructuredContentTypesList() 
  
    
public   ProtocolStringList   getStructuredContentTypesList ()  
   Optional. Contains the required structure types to extract from the
 document. Supported values:
 
 repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
 
hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   DocumentProcessingConfig . ParsingConfig . LayoutParsingConfig . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]