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

    Modifier and Type
    Method
    Description
    Canonical description of the entity, in English.
    com.google.protobuf.ByteString
    Canonical description of the entity, in English.
    Opaque entity ID.
    com.google.protobuf.ByteString
    Opaque entity ID.
    float
    Overall relevancy score for the entity.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.