Class OccupancyCountingPredictionResult.Entity.Builder (0.25.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.25.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  OccupancyCountingPredictionResult . Entity . Builder   extends   GeneratedMessageV3 . Builder<OccupancyCountingPredictionResult . Entity . Builder >  implements   OccupancyCountingPredictionResult . EntityOrBuilder  
   The entity info for annotations from occupancy counting operator.
 Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity
    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   OccupancyCountingPredictionResult . Entity . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   OccupancyCountingPredictionResult . Entity   build ()  
  
  buildPartial() 
  
    
public   OccupancyCountingPredictionResult . Entity   buildPartial ()  
  
  clear() 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearLabelId() 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clearLabelId ()  
   Label id.
 int64 label_id = 1;
clearLabelString() 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clearLabelString ()  
   Human readable string of the label.
 string label_string = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   OccupancyCountingPredictionResult . Entity   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getLabelId() 
  
   Label id.
 int64 label_id = 1;
    
      
        Returns  
      
        Type Description  
      
        long The labelId.
 
     
  
  getLabelString() 
  
    
public   String   getLabelString ()  
   Human readable string of the label.
 string label_string = 2;
    
      
        Returns  
      
        Type Description  
      
        String The labelString.
 
     
  
  getLabelStringBytes() 
  
    
public   ByteString   getLabelStringBytes ()  
   Human readable string of the label.
 string label_string = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for labelString.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(OccupancyCountingPredictionResult.Entity other) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   mergeFrom ( OccupancyCountingPredictionResult . Entity   other )  
  
  
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   OccupancyCountingPredictionResult . Entity . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setLabelId(long value) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   setLabelId ( long   value )  
   Label id.
 int64 label_id = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuelong The labelId to set.
 
     
  
  
  setLabelString(String value) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   setLabelString ( String   value )  
   Human readable string of the label.
 string label_string = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The labelString to set.
 
     
  
  
  setLabelStringBytes(ByteString value) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   setLabelStringBytes ( ByteString   value )  
   Human readable string of the label.
 string label_string = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for labelString to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   OccupancyCountingPredictionResult . Entity . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   OccupancyCountingPredictionResult . Entity . 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."],[],[]]