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

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

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

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

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

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)
Parameters
Name Description
field FieldDescriptor
value Object
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)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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

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;

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

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()
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

mergeFrom(OccupancyCountingPredictionResult.Stats.ActiveZoneCount other)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder mergeFrom(OccupancyCountingPredictionResult.Stats.ActiveZoneCount other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

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)
Parameter
Name Description
unknownFields UnknownFieldSet
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;

Parameter
Name Description
value StreamAnnotation

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountingPredictionResult.Stats.ActiveZoneCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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