Interface WebDetection.WebLabelOrBuilder (3.28.0)

public static interface WebDetection.WebLabelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLabel()

public abstract String getLabel()

Label for extra metadata.

string label = 1;

Returns
TypeDescription
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Label for extra metadata.

string label = 1;

Returns
TypeDescription
ByteString

The bytes for label.

getLanguageCode()

public abstract String getLanguageCode()

The BCP-47 language code for label, 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 for label, 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.