public final class OccupancyCountingPredictionResult extends GeneratedMessageV3 implements OccupancyCountingPredictionResultOrBuilder
The prediction result proto for occupancy counting.
Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OccupancyCountingPredictionResult.Builder newBuilder()
newBuilder(OccupancyCountingPredictionResult prototype)
public static OccupancyCountingPredictionResult.Builder newBuilder(OccupancyCountingPredictionResult prototype)
public static OccupancyCountingPredictionResult parseDelimitedFrom(InputStream input)
public static OccupancyCountingPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OccupancyCountingPredictionResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OccupancyCountingPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OccupancyCountingPredictionResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OccupancyCountingPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OccupancyCountingPredictionResult parseFrom(CodedInputStream input)
public static OccupancyCountingPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OccupancyCountingPredictionResult parseFrom(InputStream input)
public static OccupancyCountingPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OccupancyCountingPredictionResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OccupancyCountingPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OccupancyCountingPredictionResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getDefaultInstanceForType()
public OccupancyCountingPredictionResult getDefaultInstanceForType()
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
|
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;
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
|
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
|
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;
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
|
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()
Overrides
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;
getStatsOrBuilder()
public OccupancyCountingPredictionResult.StatsOrBuilder getStatsOrBuilder()
Detection statistics.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats stats = 3;
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
|
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;
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
|
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OccupancyCountingPredictionResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OccupancyCountingPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OccupancyCountingPredictionResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides