Class DetectedLandmark.Builder (2.73.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.73.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  DetectedLandmark . Builder   extends   GeneratedMessageV3 . Builder<DetectedLandmark . Builder >  implements   DetectedLandmarkOrBuilder  
   
   A generic detected landmark represented by name in string format and a 2D
 location.
 Protobuf type google.cloud.videointelligence.v1.DetectedLandmark
 
  
  
  
    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   DetectedLandmark . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   DetectedLandmark   build ()  
   
  
   
  buildPartial() 
  
    
public   DetectedLandmark   buildPartial ()  
   
  
   
  clear() 
  
    
public   DetectedLandmark . Builder   clear ()  
   
  
  Overrides 
  
   
  clearConfidence() 
  
    
public   DetectedLandmark . Builder   clearConfidence ()  
   
   The confidence score of the detected landmark. Range [0, 1].
 float confidence = 3;
 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   DetectedLandmark . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearName() 
  
    
public   DetectedLandmark . Builder   clearName ()  
   
   The name of this landmark, for example, left_hand, right_shoulder.
 string name = 1;
 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   DetectedLandmark . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  clearPoint() 
  
    
public   DetectedLandmark . Builder   clearPoint ()  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
   
  clone() 
  
    
public   DetectedLandmark . Builder   clone ()  
   
  
  Overrides 
  
   
  getConfidence() 
  
    
public   float   getConfidence ()  
   
   The confidence score of the detected landmark. Range [0, 1].
 float confidence = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        float  
        The confidence.
 
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   DetectedLandmark   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getName() 
  
   The name of this landmark, for example, left_hand, right_shoulder.
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The name.
 
       
     
  
   
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   
   The name of this landmark, for example, left_hand, right_shoulder.
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for name.
 
       
     
  
   
  getPoint() 
  
    
public   NormalizedVertex   getPoint ()  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
   
  getPointBuilder() 
  
    
public   NormalizedVertex . Builder   getPointBuilder ()  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
   
  getPointOrBuilder() 
  
    
public   NormalizedVertexOrBuilder   getPointOrBuilder ()  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
   
  hasPoint() 
  
    
public   boolean   hasPoint ()  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the point field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeFrom(DetectedLandmark other) 
  
    
public   DetectedLandmark . Builder   mergeFrom ( DetectedLandmark   other )  
   
  
  
   
  
  
    
public   DetectedLandmark . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   DetectedLandmark . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergePoint(NormalizedVertex value) 
  
    
public   DetectedLandmark . Builder   mergePoint ( NormalizedVertex   value )  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DetectedLandmark . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setConfidence(float value) 
  
    
public   DetectedLandmark . Builder   setConfidence ( float   value )  
   
   The confidence score of the detected landmark. Range [0, 1].
 float confidence = 3;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        float The confidence to set.
 
       
     
  
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   DetectedLandmark . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  setName(String value) 
  
    
public   DetectedLandmark . Builder   setName ( String   value )  
   
   The name of this landmark, for example, left_hand, right_shoulder.
 string name = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        String The name to set.
 
       
     
  
  
   
  setNameBytes(ByteString value) 
  
    
public   DetectedLandmark . Builder   setNameBytes ( ByteString   value )  
   
   The name of this landmark, for example, left_hand, right_shoulder.
 string name = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        ByteString The bytes for name to set.
 
       
     
  
  
   
  setPoint(NormalizedVertex value) 
  
    
public   DetectedLandmark . Builder   setPoint ( NormalizedVertex   value )  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
  
   
  setPoint(NormalizedVertex.Builder builderForValue) 
  
    
public   DetectedLandmark . Builder   setPoint ( NormalizedVertex . Builder   builderForValue )  
   
   The 2D point of the detected landmark using the normalized image
 coordindate system. The normalized coordinates have the range from 0 to 1.
 .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
 
  
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   DetectedLandmark . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DetectedLandmark . 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-30 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-30 UTC."],[],[]]