Class PersonDetectionConfig.Builder (2.11.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.11.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  PersonDetectionConfig . Builder   extends   GeneratedMessageV3 . Builder<PersonDetectionConfig . Builder >  implements   PersonDetectionConfigOrBuilder  
   Config for PERSON_DETECTION.
 Protobuf type google.cloud.videointelligence.v1.PersonDetectionConfig
    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
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PersonDetectionConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   PersonDetectionConfig   build ()  
  Returns 
  
  buildPartial() 
  
    
public   PersonDetectionConfig   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   PersonDetectionConfig . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   PersonDetectionConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearIncludeAttributes() 
  
    
public   PersonDetectionConfig . Builder   clearIncludeAttributes ()  
   Whether to enable person attributes detection, such as cloth color (black,
 blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
 etc.
 Ignored if 'include_bounding_boxes' is set to false.
 bool include_attributes = 3;
Returns 
  
  clearIncludeBoundingBoxes() 
  
    
public   PersonDetectionConfig . Builder   clearIncludeBoundingBoxes ()  
   Whether bounding boxes are included in the person detection annotation
 output.
 bool include_bounding_boxes = 1;
Returns 
  
  clearIncludePoseLandmarks() 
  
    
public   PersonDetectionConfig . Builder   clearIncludePoseLandmarks ()  
   Whether to enable pose landmarks detection. Ignored if
 'include_bounding_boxes' is set to false.
 bool include_pose_landmarks = 2;
Returns 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   PersonDetectionConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clone() 
  
    
public   PersonDetectionConfig . Builder   clone ()  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   PersonDetectionConfig   getDefaultInstanceForType ()  
  Returns 
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  getIncludeAttributes() 
  
    
public   boolean   getIncludeAttributes ()  
   Whether to enable person attributes detection, such as cloth color (black,
 blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
 etc.
 Ignored if 'include_bounding_boxes' is set to false.
 bool include_attributes = 3;
Returns 
  
    
      
        Type Description  
      
        boolean The includeAttributes.
 
     
  
  getIncludeBoundingBoxes() 
  
    
public   boolean   getIncludeBoundingBoxes ()  
   Whether bounding boxes are included in the person detection annotation
 output.
 bool include_bounding_boxes = 1;
Returns 
  
    
      
        Type Description  
      
        boolean The includeBoundingBoxes.
 
     
  
  getIncludePoseLandmarks() 
  
    
public   boolean   getIncludePoseLandmarks ()  
   Whether to enable pose landmarks detection. Ignored if
 'include_bounding_boxes' is set to false.
 bool include_pose_landmarks = 2;
Returns 
  
    
      
        Type Description  
      
        boolean The includePoseLandmarks.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  mergeFrom(PersonDetectionConfig other) 
  
    
public   PersonDetectionConfig . Builder   mergeFrom ( PersonDetectionConfig   other )  
  Parameter 
  
  Returns 
  
  
    
public   PersonDetectionConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   PersonDetectionConfig . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PersonDetectionConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PersonDetectionConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setIncludeAttributes(boolean value) 
  
    
public   PersonDetectionConfig . Builder   setIncludeAttributes ( boolean   value )  
   Whether to enable person attributes detection, such as cloth color (black,
 blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
 etc.
 Ignored if 'include_bounding_boxes' is set to false.
 bool include_attributes = 3;
Parameter 
  
    
      
        Name Description  
      
        valueboolean The includeAttributes to set.
 
     
  
  Returns 
  
  setIncludeBoundingBoxes(boolean value) 
  
    
public   PersonDetectionConfig . Builder   setIncludeBoundingBoxes ( boolean   value )  
   Whether bounding boxes are included in the person detection annotation
 output.
 bool include_bounding_boxes = 1;
Parameter 
  
    
      
        Name Description  
      
        valueboolean The includeBoundingBoxes to set.
 
     
  
  Returns 
  
  setIncludePoseLandmarks(boolean value) 
  
    
public   PersonDetectionConfig . Builder   setIncludePoseLandmarks ( boolean   value )  
   Whether to enable pose landmarks detection. Ignored if
 'include_bounding_boxes' is set to false.
 bool include_pose_landmarks = 2;
Parameter 
  
    
      
        Name Description  
      
        valueboolean The includePoseLandmarks to set.
 
     
  
  Returns 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   PersonDetectionConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PersonDetectionConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  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."],[],[]]