Package com.google.cloud.vision.v1
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
Modifier and TypeMethodDescriptiongetLabel()Label for extra metadata.com.google.protobuf.ByteStringLabel for extra metadata.The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".com.google.protobuf.ByteStringThe BCP-47 language code for `label`, such as "en-US" or "sr-Latn".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-