Class ProcessOptions.LayoutConfig.Builder (2.80.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.80.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ProcessOptions . LayoutConfig . Builder   extends   GeneratedMessageV3 . Builder<ProcessOptions . LayoutConfig . Builder >  implements   ProcessOptions . LayoutConfigOrBuilder  
   Serving config for layout parser processor.
 Protobuf type google.cloud.documentai.v1.ProcessOptions.LayoutConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ProcessOptions . LayoutConfig   build ()  
  
  buildPartial() 
  
    
public   ProcessOptions . LayoutConfig   buildPartial ()  
  
  clear() 
  
    
public   ProcessOptions . LayoutConfig . Builder   clear ()  
  
  Overrides 
  
  clearChunkingConfig() 
  
    
public   ProcessOptions . LayoutConfig . Builder   clearChunkingConfig ()  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ProcessOptions . LayoutConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ProcessOptions . LayoutConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearReturnBoundingBoxes() 
  
    
public   ProcessOptions . LayoutConfig . Builder   clearReturnBoundingBoxes ()  
   Optional. Whether to include bounding boxes in layout parser processor
 response.
 bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];
clearReturnImages() 
  
    
public   ProcessOptions . LayoutConfig . Builder   clearReturnImages ()  
   Optional. Whether to include images in layout parser processor response.
 bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];
clone() 
  
    
public   ProcessOptions . LayoutConfig . Builder   clone ()  
  
  Overrides 
  
  getChunkingConfig() 
  
    
public   ProcessOptions . LayoutConfig . ChunkingConfig   getChunkingConfig ()  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getChunkingConfigBuilder() 
  
    
public   ProcessOptions . LayoutConfig . ChunkingConfig . Builder   getChunkingConfigBuilder ()  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getChunkingConfigOrBuilder() 
  
    
public   ProcessOptions . LayoutConfig . ChunkingConfigOrBuilder   getChunkingConfigOrBuilder ()  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getDefaultInstanceForType() 
  
    
public   ProcessOptions . LayoutConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getReturnBoundingBoxes() 
  
    
public   boolean   getReturnBoundingBoxes ()  
   Optional. Whether to include bounding boxes in layout parser processor
 response.
 bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The returnBoundingBoxes.
 
     
  
  getReturnImages() 
  
    
public   boolean   getReturnImages ()  
   Optional. Whether to include images in layout parser processor response.
 bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The returnImages.
 
     
  
  hasChunkingConfig() 
  
    
public   boolean   hasChunkingConfig ()  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the chunkingConfig field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   mergeChunkingConfig ( ProcessOptions . LayoutConfig . ChunkingConfig   value )  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
mergeFrom(ProcessOptions.LayoutConfig other) 
  
    
public   ProcessOptions . LayoutConfig . Builder   mergeFrom ( ProcessOptions . LayoutConfig   other )  
  
  
  
    
public   ProcessOptions . LayoutConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ProcessOptions . LayoutConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ProcessOptions . LayoutConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setChunkingConfig ( ProcessOptions . LayoutConfig . ChunkingConfig   value )  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
setChunkingConfig(ProcessOptions.LayoutConfig.ChunkingConfig.Builder builderForValue) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setChunkingConfig ( ProcessOptions . LayoutConfig . ChunkingConfig . Builder   builderForValue )  
   Optional. Config for chunking in layout parser processor.
 
 .google.cloud.documentai.v1.ProcessOptions.LayoutConfig.ChunkingConfig chunking_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setReturnBoundingBoxes(boolean value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setReturnBoundingBoxes ( boolean   value )  
   Optional. Whether to include bounding boxes in layout parser processor
 response.
 bool return_bounding_boxes = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The returnBoundingBoxes to set.
 
     
  
  
  setReturnImages(boolean value) 
  
    
public   ProcessOptions . LayoutConfig . Builder   setReturnImages ( boolean   value )  
   Optional. Whether to include images in layout parser processor response.
 bool return_images = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The returnImages to set.
 
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ProcessOptions . LayoutConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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."],[],[]]