Interface ProductSearchResults.ObjectAnnotationOrBuilder (2.1.1)

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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getMid()

public abstract String getMid()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
TypeDescription
String

The mid.

getMidBytes()

public abstract ByteString getMidBytes()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
TypeDescription
ByteString

The bytes for mid.

getName()

public abstract String getName()

Object name, expressed in its language_code language.

string name = 3;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Object name, expressed in its language_code language.

string name = 3;

Returns
TypeDescription
ByteString

The bytes for name.

getScore()

public abstract float getScore()

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

float score = 4;

Returns
TypeDescription
float

The score.