Class OccupancyCountingPredictionResult.Builder (0.10.0)

public static final class OccupancyCountingPredictionResult.Builder extends GeneratedMessageV3.Builder<OccupancyCountingPredictionResult.Builder> implements OccupancyCountingPredictionResultOrBuilder

The prediction result proto for occupancy counting.

Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult

Static Methods

getDescriptor()

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

Methods

addAllDwellTimeInfo(Iterable<? extends OccupancyCountingPredictionResult.DwellTimeInfo> values)

public OccupancyCountingPredictionResult.Builder addAllDwellTimeInfo(Iterable<? extends OccupancyCountingPredictionResult.DwellTimeInfo> values)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo>
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addAllIdentifiedBoxes(Iterable<? extends OccupancyCountingPredictionResult.IdentifiedBox> values)

public OccupancyCountingPredictionResult.Builder addAllIdentifiedBoxes(Iterable<? extends OccupancyCountingPredictionResult.IdentifiedBox> values)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox>
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addAllTrackInfo(Iterable<? extends OccupancyCountingPredictionResult.TrackInfo> values)

public OccupancyCountingPredictionResult.Builder addAllTrackInfo(Iterable<? extends OccupancyCountingPredictionResult.TrackInfo> values)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo>
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addDwellTimeInfo(OccupancyCountingPredictionResult.DwellTimeInfo value)

public OccupancyCountingPredictionResult.Builder addDwellTimeInfo(OccupancyCountingPredictionResult.DwellTimeInfo value)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
value OccupancyCountingPredictionResult.DwellTimeInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addDwellTimeInfo(OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addDwellTimeInfo(OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
builderForValue OccupancyCountingPredictionResult.DwellTimeInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo value)

public OccupancyCountingPredictionResult.Builder addDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo value)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.DwellTimeInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.DwellTimeInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addDwellTimeInfoBuilder()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder addDwellTimeInfoBuilder()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

addDwellTimeInfoBuilder(int index)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder addDwellTimeInfoBuilder(int index)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

addIdentifiedBoxes(OccupancyCountingPredictionResult.IdentifiedBox value)

public OccupancyCountingPredictionResult.Builder addIdentifiedBoxes(OccupancyCountingPredictionResult.IdentifiedBox value)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
value OccupancyCountingPredictionResult.IdentifiedBox
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addIdentifiedBoxes(OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addIdentifiedBoxes(OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
builderForValue OccupancyCountingPredictionResult.IdentifiedBox.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox value)

public OccupancyCountingPredictionResult.Builder addIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox value)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.IdentifiedBox
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.IdentifiedBox.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addIdentifiedBoxesBuilder()

public OccupancyCountingPredictionResult.IdentifiedBox.Builder addIdentifiedBoxesBuilder()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.Builder

addIdentifiedBoxesBuilder(int index)

public OccupancyCountingPredictionResult.IdentifiedBox.Builder addIdentifiedBoxesBuilder(int index)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrackInfo(OccupancyCountingPredictionResult.TrackInfo value)

public OccupancyCountingPredictionResult.Builder addTrackInfo(OccupancyCountingPredictionResult.TrackInfo value)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
value OccupancyCountingPredictionResult.TrackInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addTrackInfo(OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addTrackInfo(OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
builderForValue OccupancyCountingPredictionResult.TrackInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo value)

public OccupancyCountingPredictionResult.Builder addTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo value)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.TrackInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder addTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.TrackInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

addTrackInfoBuilder()

public OccupancyCountingPredictionResult.TrackInfo.Builder addTrackInfoBuilder()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

addTrackInfoBuilder(int index)

public OccupancyCountingPredictionResult.TrackInfo.Builder addTrackInfoBuilder(int index)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

build()

public OccupancyCountingPredictionResult build()
Returns
Type Description
OccupancyCountingPredictionResult

buildPartial()

public OccupancyCountingPredictionResult buildPartial()
Returns
Type Description
OccupancyCountingPredictionResult

clear()

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

clearCurrentTime()

public OccupancyCountingPredictionResult.Builder clearCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

clearDwellTimeInfo()

public OccupancyCountingPredictionResult.Builder clearDwellTimeInfo()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIdentifiedBoxes()

public OccupancyCountingPredictionResult.Builder clearIdentifiedBoxes()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPts()

public OccupancyCountingPredictionResult.Builder clearPts()

The presentation timestamp of the frame.

optional int64 pts = 6;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

This builder for chaining.

clearStats()

public OccupancyCountingPredictionResult.Builder clearStats()

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

clearTrackInfo()

public OccupancyCountingPredictionResult.Builder clearTrackInfo()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
OccupancyCountingPredictionResult.Builder

clone()

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

getCurrentTime()

public Timestamp getCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Timestamp

The currentTime.

getCurrentTimeBuilder()

public Timestamp.Builder getCurrentTimeBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Builder

getCurrentTimeOrBuilder()

public TimestampOrBuilder getCurrentTimeOrBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OccupancyCountingPredictionResult getDefaultInstanceForType()
Returns
Type Description
OccupancyCountingPredictionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDwellTimeInfo(int index)

public OccupancyCountingPredictionResult.DwellTimeInfo getDwellTimeInfo(int index)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo

getDwellTimeInfoBuilder(int index)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder getDwellTimeInfoBuilder(int index)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

getDwellTimeInfoBuilderList()

public List<OccupancyCountingPredictionResult.DwellTimeInfo.Builder> getDwellTimeInfoBuilderList()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
List<Builder>

getDwellTimeInfoCount()

public int getDwellTimeInfoCount()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
int

getDwellTimeInfoList()

public List<OccupancyCountingPredictionResult.DwellTimeInfo> getDwellTimeInfoList()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
List<DwellTimeInfo>

getDwellTimeInfoOrBuilder(int index)

public OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder getDwellTimeInfoOrBuilder(int index)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder

getDwellTimeInfoOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder> getDwellTimeInfoOrBuilderList()

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder>

getIdentifiedBoxes(int index)

public OccupancyCountingPredictionResult.IdentifiedBox getIdentifiedBoxes(int index)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox

getIdentifiedBoxesBuilder(int index)

public OccupancyCountingPredictionResult.IdentifiedBox.Builder getIdentifiedBoxesBuilder(int index)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.Builder

getIdentifiedBoxesBuilderList()

public List<OccupancyCountingPredictionResult.IdentifiedBox.Builder> getIdentifiedBoxesBuilderList()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
List<Builder>

getIdentifiedBoxesCount()

public int getIdentifiedBoxesCount()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
int

getIdentifiedBoxesList()

public List<OccupancyCountingPredictionResult.IdentifiedBox> getIdentifiedBoxesList()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
List<IdentifiedBox>

getIdentifiedBoxesOrBuilder(int index)

public OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder getIdentifiedBoxesOrBuilder(int index)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder

getIdentifiedBoxesOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder> getIdentifiedBoxesOrBuilderList()

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder>

getPts()

public long getPts()

The presentation timestamp of the frame.

optional int64 pts = 6;

Returns
Type Description
long

The pts.

getStats()

public OccupancyCountingPredictionResult.Stats getStats()

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

Returns
Type Description
OccupancyCountingPredictionResult.Stats

The stats.

getStatsBuilder()

public OccupancyCountingPredictionResult.Stats.Builder getStatsBuilder()

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

Returns
Type Description
OccupancyCountingPredictionResult.Stats.Builder

getStatsOrBuilder()

public OccupancyCountingPredictionResult.StatsOrBuilder getStatsOrBuilder()

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

Returns
Type Description
OccupancyCountingPredictionResult.StatsOrBuilder

getTrackInfo(int index)

public OccupancyCountingPredictionResult.TrackInfo getTrackInfo(int index)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo

getTrackInfoBuilder(int index)

public OccupancyCountingPredictionResult.TrackInfo.Builder getTrackInfoBuilder(int index)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

getTrackInfoBuilderList()

public List<OccupancyCountingPredictionResult.TrackInfo.Builder> getTrackInfoBuilderList()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
List<Builder>

getTrackInfoCount()

public int getTrackInfoCount()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
int

getTrackInfoList()

public List<OccupancyCountingPredictionResult.TrackInfo> getTrackInfoList()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
List<TrackInfo>

getTrackInfoOrBuilder(int index)

public OccupancyCountingPredictionResult.TrackInfoOrBuilder getTrackInfoOrBuilder(int index)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfoOrBuilder

getTrackInfoOrBuilderList()

public List<? extends OccupancyCountingPredictionResult.TrackInfoOrBuilder> getTrackInfoOrBuilderList()

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfoOrBuilder>

hasCurrentTime()

public boolean hasCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
boolean

Whether the currentTime field is set.

hasPts()

public boolean hasPts()

The presentation timestamp of the frame.

optional int64 pts = 6;

Returns
Type Description
boolean

Whether the pts field is set.

hasStats()

public boolean hasStats()

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

Returns
Type Description
boolean

Whether the stats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCurrentTime(Timestamp value)

public OccupancyCountingPredictionResult.Builder mergeCurrentTime(Timestamp value)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.Builder

mergeFrom(OccupancyCountingPredictionResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStats(OccupancyCountingPredictionResult.Stats value)

public OccupancyCountingPredictionResult.Builder mergeStats(OccupancyCountingPredictionResult.Stats value)

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountingPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OccupancyCountingPredictionResult.Builder
Overrides

removeDwellTimeInfo(int index)

public OccupancyCountingPredictionResult.Builder removeDwellTimeInfo(int index)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Builder

removeIdentifiedBoxes(int index)

public OccupancyCountingPredictionResult.Builder removeIdentifiedBoxes(int index)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Builder

removeTrackInfo(int index)

public OccupancyCountingPredictionResult.Builder removeTrackInfo(int index)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameter
Name Description
index int
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setCurrentTime(Timestamp value)

public OccupancyCountingPredictionResult.Builder setCurrentTime(Timestamp value)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setCurrentTime(Timestamp.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder setCurrentTime(Timestamp.Builder builderForValue)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo value)

public OccupancyCountingPredictionResult.Builder setDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo value)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.DwellTimeInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder setDwellTimeInfo(int index, OccupancyCountingPredictionResult.DwellTimeInfo.Builder builderForValue)

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo dwell_time_info = 5;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.DwellTimeInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox value)

public OccupancyCountingPredictionResult.Builder setIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox value)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.IdentifiedBox
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder setIdentifiedBoxes(int index, OccupancyCountingPredictionResult.IdentifiedBox.Builder builderForValue)

A list of identified boxes.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox identified_boxes = 2;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.IdentifiedBox.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setPts(long value)

public OccupancyCountingPredictionResult.Builder setPts(long value)

The presentation timestamp of the frame.

optional int64 pts = 6;

Parameter
Name Description
value long

The pts to set.

Returns
Type Description
OccupancyCountingPredictionResult.Builder

This builder for chaining.

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

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

setStats(OccupancyCountingPredictionResult.Stats value)

public OccupancyCountingPredictionResult.Builder setStats(OccupancyCountingPredictionResult.Stats value)

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

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

setStats(OccupancyCountingPredictionResult.Stats.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder setStats(OccupancyCountingPredictionResult.Stats.Builder builderForValue)

Detection statistics.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;

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

setTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo value)

public OccupancyCountingPredictionResult.Builder setTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo value)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameters
Name Description
index int
value OccupancyCountingPredictionResult.TrackInfo
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

public OccupancyCountingPredictionResult.Builder setTrackInfo(int index, OccupancyCountingPredictionResult.TrackInfo.Builder builderForValue)

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo track_info = 4;

Parameters
Name Description
index int
builderForValue OccupancyCountingPredictionResult.TrackInfo.Builder
Returns
Type Description
OccupancyCountingPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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