Class OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder (0.37.0)
0.44.0 (latest)
0.42.0
0.40.0
0.39.0
0.37.0
0.35.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.27.0
0.25.0
0.24.0
0.21.0
0.20.0
0.19.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
public static final class OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder extends GeneratedMessageV3 . Builder<OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder > implements OccupancyCountingPredictionResult . Stats . ActiveZoneCountOrBuilder
Message for the active zone count.
Protobuf type
google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount
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
addAllCounts(Iterable<? extends OccupancyCountingPredictionResult.Stats.ObjectCount> values)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addAllCounts ( Iterable <? extends OccupancyCountingPredictionResult . Stats . ObjectCount > values )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount >
addCounts(OccupancyCountingPredictionResult.Stats.ObjectCount value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addCounts ( OccupancyCountingPredictionResult . Stats . ObjectCount value )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
addCounts(OccupancyCountingPredictionResult.Stats.ObjectCount.Builder builderForValue)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addCounts ( OccupancyCountingPredictionResult . Stats . ObjectCount . Builder builderForValue )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
addCounts(int index, OccupancyCountingPredictionResult.Stats.ObjectCount value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addCounts ( int index , OccupancyCountingPredictionResult . Stats . ObjectCount value )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
addCounts(int index, OccupancyCountingPredictionResult.Stats.ObjectCount.Builder builderForValue)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addCounts ( int index , OccupancyCountingPredictionResult . Stats . ObjectCount . Builder builderForValue )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
addCountsBuilder()
public OccupancyCountingPredictionResult . Stats . ObjectCount . Builder addCountsBuilder ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
addCountsBuilder(int index)
public OccupancyCountingPredictionResult . Stats . ObjectCount . Builder addCountsBuilder ( int index )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount build ()
buildPartial()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount buildPartial ()
clear()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clear ()
Overrides
clearAnnotation()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clearAnnotation ()
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
clearCounts()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clearCounts ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
clearField(Descriptors.FieldDescriptor field)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder clone ()
Overrides
getAnnotation()
public StreamAnnotation getAnnotation ()
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
getAnnotationBuilder()
public StreamAnnotation . Builder getAnnotationBuilder ()
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
getAnnotationOrBuilder()
public StreamAnnotationOrBuilder getAnnotationOrBuilder ()
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
getCounts(int index)
public OccupancyCountingPredictionResult . Stats . ObjectCount getCounts ( int index )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
index
int
getCountsBuilder(int index)
public OccupancyCountingPredictionResult . Stats . ObjectCount . Builder getCountsBuilder ( int index )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
index
int
getCountsBuilderList()
public List<OccupancyCountingPredictionResult . Stats . ObjectCount . Builder > getCountsBuilderList ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
getCountsCount()
public int getCountsCount ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Returns
Type
Description
int
getCountsList()
public List<OccupancyCountingPredictionResult . Stats . ObjectCount > getCountsList ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
getCountsOrBuilder(int index)
public OccupancyCountingPredictionResult . Stats . ObjectCountOrBuilder getCountsOrBuilder ( int index )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
index
int
getCountsOrBuilderList()
public List <? extends OccupancyCountingPredictionResult . Stats . ObjectCountOrBuilder > getCountsOrBuilderList ()
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Returns
Type
Description
List <? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder >
getDefaultInstanceForType()
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasAnnotation()
public boolean hasAnnotation ()
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
Returns
Type
Description
boolean
Whether the annotation field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAnnotation(StreamAnnotation value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder mergeAnnotation ( StreamAnnotation value )
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
mergeFrom(OccupancyCountingPredictionResult.Stats.ActiveZoneCount other)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder mergeFrom ( OccupancyCountingPredictionResult . Stats . ActiveZoneCount other )
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeCounts(int index)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder removeCounts ( int index )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
Parameter
Name
Description
index
int
setAnnotation(StreamAnnotation value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setAnnotation ( StreamAnnotation value )
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
setAnnotation(StreamAnnotation.Builder builderForValue)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setAnnotation ( StreamAnnotation . Builder builderForValue )
Active zone annotation from the user.
.google.cloud.visionai.v1.StreamAnnotation annotation = 1;
setCounts(int index, OccupancyCountingPredictionResult.Stats.ObjectCount value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setCounts ( int index , OccupancyCountingPredictionResult . Stats . ObjectCount value )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
setCounts(int index, OccupancyCountingPredictionResult.Stats.ObjectCount.Builder builderForValue)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setCounts ( int index , OccupancyCountingPredictionResult . Stats . ObjectCount . Builder builderForValue )
Counts in the zone.
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OccupancyCountingPredictionResult . Stats . ActiveZoneCount . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OccupancyCountingPredictionResult . Stats . ActiveZoneCount . 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 2026-03-14 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 2026-03-14 UTC."],[],[]]