Interface WebDetection.WebEntityOrBuilder (3.78.0)

publicstaticinterface WebDetection.WebEntityOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

publicabstractStringgetDescription()

Canonical description of the entity, in English.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

publicabstractByteStringgetDescriptionBytes()

Canonical description of the entity, in English.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getEntityId()

publicabstractStringgetEntityId()

Opaque entity ID.

string entity_id = 1;

Returns
Type Description
String

The entityId.

getEntityIdBytes()

publicabstractByteStringgetEntityIdBytes()

Opaque entity ID.

string entity_id = 1;

Returns
Type Description
ByteString

The bytes for entityId.

getScore()

publicabstractfloatgetScore()

Overall relevancy score for the entity. Not normalized and not comparable across different image queries.

float score = 2;

Returns
Type Description
float

The score.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.