Package com.google.cloud.visionai.v1
Interface OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OccupancyCountingPredictionResult.IdentifiedBox,OccupancyCountingPredictionResult.IdentifiedBox.Builder
- Enclosing class:
- OccupancyCountingPredictionResult
public static interface OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetBoxId()An unique id for this box.Entity of this box.Entity of this box.Bounding Box in the normalized coordinates.Bounding Box in the normalized coordinates.floatgetScore()Confidence score associated with this box.longAn unique id to identify a track.booleanEntity of this box.booleanBounding Box in the normalized coordinates.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBoxId
long getBoxId()An unique id for this box.
int64 box_id = 1;- Returns:
- The boxId.
-
hasNormalizedBoundingBox
boolean hasNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;- Returns:
- Whether the normalizedBoundingBox field is set.
-
getNormalizedBoundingBox
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox getNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;- Returns:
- The normalizedBoundingBox.
-
getNormalizedBoundingBoxOrBuilder
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2; -
getScore
float getScore()Confidence score associated with this box.
float score = 3;- Returns:
- The score.
-
hasEntity
boolean hasEntity()Entity of this box.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 4;- Returns:
- Whether the entity field is set.
-
getEntity
OccupancyCountingPredictionResult.Entity getEntity()Entity of this box.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 4;- Returns:
- The entity.
-
getEntityOrBuilder
OccupancyCountingPredictionResult.EntityOrBuilder getEntityOrBuilder()Entity of this box.
.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity entity = 4; -
getTrackId
long getTrackId()An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.
int64 track_id = 5;- Returns:
- The trackId.
-