Package viam.app.data.v1
Interface Data.ClassificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Data.Classification,Data.Classification.Builder
- Enclosing class:
- Data
public static interface Data.ClassificationOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleconfidence is an optional range from 0 - 1getId()string id = 3 [json_name = "id"];com.google.protobuf.ByteStringstring id = 3 [json_name = "id"];getLabel()string label = 1 [json_name = "label"];com.google.protobuf.ByteStringstring label = 1 [json_name = "label"];booleanconfidence is an optional range from 0 - 1Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()string id = 3 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 3 [json_name = "id"];- Returns:
- The bytes for id.
-
getLabel
String getLabel()string label = 1 [json_name = "label"];- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()string label = 1 [json_name = "label"];- Returns:
- The bytes for label.
-
hasConfidence
boolean hasConfidence()confidence is an optional range from 0 - 1
optional double confidence = 2 [json_name = "confidence"];- Returns:
- Whether the confidence field is set.
-
getConfidence
double getConfidence()confidence is an optional range from 0 - 1
optional double confidence = 2 [json_name = "confidence"];- Returns:
- The confidence.
-