Interface WebDetection.WebLabelOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WebDetection.WebLabel
,WebDetection.WebLabel.Builder
- Enclosing class:
- WebDetection
public static interface WebDetection.WebLabelOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLabel()
Label for extra metadata.com.google.protobuf.ByteString
getLabelBytes()
Label for extra metadata.String
getLanguageCode()
The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".com.google.protobuf.ByteString
getLanguageCodeBytes()
The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLabel
String getLabel()
Label for extra metadata.
string label = 1;
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()
Label for extra metadata.
string label = 1;
- Returns:
- The bytes for label.
-
getLanguageCode
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:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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:
- The bytes for languageCode.
-
-