Package com.google.cloud.visionai.v1
Interface ObjectDetectionPredictionResult.EntityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ObjectDetectionPredictionResult.Entity,ObjectDetectionPredictionResult.Entity.Builder
- Enclosing class:
- ObjectDetectionPredictionResult
public static interface ObjectDetectionPredictionResult.EntityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongLabel id.Human readable string of the label.com.google.protobuf.ByteStringHuman readable string of the label.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
-
getLabelId
long getLabelId()Label id.
int64 label_id = 1;- Returns:
- The labelId.
-
getLabelString
String getLabelString()Human readable string of the label.
string label_string = 2;- Returns:
- The labelString.
-
getLabelStringBytes
com.google.protobuf.ByteString getLabelStringBytes()Human readable string of the label.
string label_string = 2;- Returns:
- The bytes for labelString.
-