Package viam.app.data.v1
Interface Data.BoundingBoxOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Data.BoundingBox
,Data.BoundingBox.Builder
- Enclosing class:
- Data
public static interface Data.BoundingBoxOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
confidence is an optional range from 0 - 1getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
getLabel()
string label = 2 [json_name = "label"];
com.google.protobuf.ByteString
string label = 2 [json_name = "label"];
double
double x_max_normalized = 5 [json_name = "xMaxNormalized"];
double
double x_min_normalized = 3 [json_name = "xMinNormalized"];
double
double y_max_normalized = 6 [json_name = "yMaxNormalized"];
double
double y_min_normalized = 4 [json_name = "yMinNormalized"];
boolean
confidence is an optional range from 0 - 1Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id"];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
getLabel
String getLabel()string label = 2 [json_name = "label"];
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()string label = 2 [json_name = "label"];
- Returns:
- The bytes for label.
-
getXMinNormalized
double getXMinNormalized()double x_min_normalized = 3 [json_name = "xMinNormalized"];
- Returns:
- The xMinNormalized.
-
getYMinNormalized
double getYMinNormalized()double y_min_normalized = 4 [json_name = "yMinNormalized"];
- Returns:
- The yMinNormalized.
-
getXMaxNormalized
double getXMaxNormalized()double x_max_normalized = 5 [json_name = "xMaxNormalized"];
- Returns:
- The xMaxNormalized.
-
getYMaxNormalized
double getYMaxNormalized()double y_max_normalized = 6 [json_name = "yMaxNormalized"];
- Returns:
- The yMaxNormalized.
-
hasConfidence
boolean hasConfidence()confidence is an optional range from 0 - 1
optional double confidence = 7 [json_name = "confidence"];
- Returns:
- Whether the confidence field is set.
-
getConfidence
double getConfidence()confidence is an optional range from 0 - 1
optional double confidence = 7 [json_name = "confidence"];
- Returns:
- The confidence.
-