Class OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder (0.11.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameter
Name Description
value OccupancyCountingPredictionResult.Stats.ObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameter
Name Description
builderForValue OccupancyCountingPredictionResult.Stats.ObjectCount.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.Stats.ObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.Stats.ObjectCount.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

addCountsBuilder()

public OccupancyCountingPredictionResult.Stats.ObjectCount.Builder addCountsBuilder()

Counts in the zone.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

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
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

build()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount build()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount

buildPartial()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount buildPartial()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount

clear()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clear()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

clearAnnotation()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clearAnnotation()

Active zone annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

clearCounts()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clearCounts()

Counts in the zone.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

clearField(Descriptors.FieldDescriptor field)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

clone()

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clone()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

getAnnotation()

public StreamAnnotation getAnnotation()

Active zone annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
StreamAnnotation

The annotation.

getAnnotationBuilder()

public StreamAnnotation.Builder getAnnotationBuilder()

Active zone annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
StreamAnnotation.Builder

getAnnotationOrBuilder()

public StreamAnnotationOrBuilder getAnnotationOrBuilder()

Active zone annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Returns
Type Description
StreamAnnotationOrBuilder

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
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount

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
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCount.Builder

getCountsBuilderList()

public List<OccupancyCountingPredictionResult.Stats.ObjectCount.Builder> getCountsBuilderList()

Counts in the zone.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<ObjectCount>

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
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ObjectCountOrBuilder

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()
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

Parameter
Name Description
value StreamAnnotation
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

mergeFrom(OccupancyCountingPredictionResult.Stats.ActiveZoneCount other)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder mergeFrom(OccupancyCountingPredictionResult.Stats.ActiveZoneCount other)
Parameter
Name Description
other OccupancyCountingPredictionResult.Stats.ActiveZoneCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
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
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

setAnnotation(StreamAnnotation value)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder setAnnotation(StreamAnnotation value)

Active zone annotation from the user.

.google.cloud.visionai.v1.StreamAnnotation annotation = 1;

Parameter
Name Description
value StreamAnnotation
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameter
Name Description
builderForValue StreamAnnotation.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.Stats.ObjectCount
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

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;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.Stats.ObjectCount.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder
Overrides