Interface ProductSearchResults.ObjectAnnotationOrBuilder (3.43.0)

public static interface ProductSearchResults.ObjectAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCode()

public abstract String getLanguageCode()

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

string language_code = 2;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

string language_code = 2;

Returns
Type Description
ByteString

The bytes for languageCode.

getMid()

public abstract String getMid()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
Type Description
String

The mid.

getMidBytes()

public abstract ByteString getMidBytes()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
Type Description
ByteString

The bytes for mid.

getName()

public abstract String getName()

Object name, expressed in its language_code language.

string name = 3;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Object name, expressed in its language_code language.

string name = 3;

Returns
Type Description
ByteString

The bytes for name.

getScore()

public abstract float getScore()

Score of the result. Range [0, 1].

float score = 4;

Returns
Type Description
float

The score.