Interface WebDetection.WebLabelOrBuilder (3.51.0)

public static interface WebDetection.WebLabelOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract String getLabel()

Label for extra metadata.

string label = 1;

Returns
Type Description
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Label for extra metadata.

string label = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for languageCode.