Interface WebDetection.WebEntityOrBuilder

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

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