Class DocumentSchema.Metadata.Builder (2.18.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.18.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  DocumentSchema . Metadata . Builder   extends   GeneratedMessageV3 . Builder<DocumentSchema . Metadata . Builder >  implements   DocumentSchema . MetadataOrBuilder  
   Metadata for global schema behavior.
 Protobuf type google.cloud.documentai.v1beta3.DocumentSchema.Metadata
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      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
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   DocumentSchema . Metadata . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata   build ()  
  
  
    
public   DocumentSchema . Metadata   buildPartial ()  
  
  
    
public   DocumentSchema . Metadata . Builder   clear ()  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   clearDocumentAllowMultipleLabels ()  
   If true, on a given page, there can be multiple document annotations
 covering it.
 bool document_allow_multiple_labels = 2;
    
public   DocumentSchema . Metadata . Builder   clearDocumentSplitter ()  
   If true, a document entity type can be applied to subdocument (
 splitting). Otherwise, it can only be applied to the entire document
 (classification).
 bool document_splitter = 1;
    
public   DocumentSchema . Metadata . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   clearPrefixedNamingOnProperties ()  
   If set, all the nested entities must be prefixed with the parents.
 bool prefixed_naming_on_properties = 6;
    
public   DocumentSchema . Metadata . Builder   clearSkipNamingValidation ()  
   If set, we will skip the naming format validation in the schema. So the
 string values in DocumentSchema.EntityType.name and
 DocumentSchema.EntityType.Property.name will not be checked.
 bool skip_naming_validation = 7;
    
public   DocumentSchema . Metadata . Builder   clone ()  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   boolean   getDocumentAllowMultipleLabels ()  
   If true, on a given page, there can be multiple document annotations
 covering it.
 bool document_allow_multiple_labels = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean The documentAllowMultipleLabels.
 
     
  
  
    
public   boolean   getDocumentSplitter ()  
   If true, a document entity type can be applied to subdocument (
 splitting). Otherwise, it can only be applied to the entire document
 (classification).
 bool document_splitter = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean The documentSplitter.
 
     
  
  
    
public   boolean   getPrefixedNamingOnProperties ()  
   If set, all the nested entities must be prefixed with the parents.
 bool prefixed_naming_on_properties = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean The prefixedNamingOnProperties.
 
     
  
  
    
public   boolean   getSkipNamingValidation ()  
   If set, we will skip the naming format validation in the schema. So the
 string values in DocumentSchema.EntityType.name and
 DocumentSchema.EntityType.Property.name will not be checked.
 bool skip_naming_validation = 7;
    
      
        Returns  
      
        Type Description  
      
        boolean The skipNamingValidation.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   mergeFrom ( DocumentSchema . Metadata   other )  
  
  
  
    
public   DocumentSchema . Metadata . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   DocumentSchema . Metadata . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   DocumentSchema . Metadata . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   setDocumentAllowMultipleLabels ( boolean   value )  
   If true, on a given page, there can be multiple document annotations
 covering it.
 bool document_allow_multiple_labels = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The documentAllowMultipleLabels to set.
 
     
  
  
  
    
public   DocumentSchema . Metadata . Builder   setDocumentSplitter ( boolean   value )  
   If true, a document entity type can be applied to subdocument (
 splitting). Otherwise, it can only be applied to the entire document
 (classification).
 bool document_splitter = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The documentSplitter to set.
 
     
  
  
  
    
public   DocumentSchema . Metadata . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   setPrefixedNamingOnProperties ( boolean   value )  
   If set, all the nested entities must be prefixed with the parents.
 bool prefixed_naming_on_properties = 6;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The prefixedNamingOnProperties to set.
 
     
  
  
  
    
public   DocumentSchema . Metadata . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   DocumentSchema . Metadata . Builder   setSkipNamingValidation ( boolean   value )  
   If set, we will skip the naming format validation in the schema. So the
 string values in DocumentSchema.EntityType.name and
 DocumentSchema.EntityType.Property.name will not be checked.
 bool skip_naming_validation = 7;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The skipNamingValidation to set.
 
     
  
  
  
    
public   final   DocumentSchema . Metadata . 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."],[],[]]