Class OccupancyCountingPredictionResult (0.9.0)

public final class OccupancyCountingPredictionResult extends GeneratedMessageV3 implements OccupancyCountingPredictionResultOrBuilder

The prediction result proto for occupancy counting.

Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OccupancyCountingPredictionResult

Static Fields

CURRENT_TIME_FIELD_NUMBER

public static final int CURRENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

DWELL_TIME_INFO_FIELD_NUMBER

public static final int DWELL_TIME_INFO_FIELD_NUMBER
Field Value
Type Description
int

IDENTIFIED_BOXES_FIELD_NUMBER

public static final int IDENTIFIED_BOXES_FIELD_NUMBER
Field Value
Type Description
int

PTS_FIELD_NUMBER

public static final int PTS_FIELD_NUMBER
Field Value
Type Description
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
Type Description
int

TRACK_INFO_FIELD_NUMBER

public static final int TRACK_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OccupancyCountingPredictionResult getDefaultInstance()
Returns
Type Description
OccupancyCountingPredictionResult

getDescriptor()

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

newBuilder()

public static OccupancyCountingPredictionResult.Builder newBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.Builder

newBuilder(OccupancyCountingPredictionResult prototype)

public static OccupancyCountingPredictionResult.Builder newBuilder(OccupancyCountingPredictionResult prototype)
Parameter
Name Description
prototype OccupancyCountingPredictionResult
Returns
Type Description
OccupancyCountingPredictionResult.Builder

parseDelimitedFrom(InputStream input)

public static OccupancyCountingPredictionResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OccupancyCountingPredictionResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OccupancyCountingPredictionResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OccupancyCountingPredictionResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OccupancyCountingPredictionResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OccupancyCountingPredictionResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OccupancyCountingPredictionResult> parser()
Returns
Type Description
Parser<OccupancyCountingPredictionResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCurrentTime()

public Timestamp getCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Timestamp

The currentTime.

getCurrentTimeOrBuilder()

public TimestampOrBuilder getCurrentTimeOrBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OccupancyCountingPredictionResult getDefaultInstanceForType()
Returns
Type Description
OccupancyCountingPredictionResult

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

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

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>

getParserForType()

public Parser<OccupancyCountingPredictionResult> getParserForType()
Returns
Type Description
Parser<OccupancyCountingPredictionResult>
Overrides

getPts()

public long getPts()

The presentation timestamp of the frame.

optional int64 pts = 6;

Returns
Type Description
long

The pts.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStats()

public OccupancyCountingPredictionResult.Stats getStats()

Detection statistics.

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

Returns
Type Description
OccupancyCountingPredictionResult.Stats

The stats.

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OccupancyCountingPredictionResult.Builder newBuilderForType()
Returns
Type Description
OccupancyCountingPredictionResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OccupancyCountingPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OccupancyCountingPredictionResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OccupancyCountingPredictionResult.Builder toBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException