Interface WebDetection.WebEntityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WebDetection.WebEntity
,WebDetection.WebEntity.Builder
- Enclosing class:
- WebDetection
public static interface WebDetection.WebEntityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Canonical description of the entity, in English.com.google.protobuf.ByteString
getDescriptionBytes()
Canonical description of the entity, in English.String
getEntityId()
Opaque entity ID.com.google.protobuf.ByteString
getEntityIdBytes()
Opaque entity ID.float
getScore()
Overall relevancy score for the entity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEntityId
String getEntityId()
Opaque entity ID.
string entity_id = 1;
- Returns:
- The entityId.
-
getEntityIdBytes
com.google.protobuf.ByteString getEntityIdBytes()
Opaque entity ID.
string entity_id = 1;
- Returns:
- The bytes for entityId.
-
getScore
float getScore()
Overall relevancy score for the entity. Not normalized and not comparable across different image queries.
float score = 2;
- Returns:
- The score.
-
getDescription
String getDescription()
Canonical description of the entity, in English.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Canonical description of the entity, in English.
string description = 3;
- Returns:
- The bytes for description.
-
-