public static interface ProductSearchResults.ObjectAnnotationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
ByteString |
getLanguageCodeBytes()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
String |
getMid()
Object ID that should align with EntityAnnotation mid.
|
ByteString |
getMidBytes()
Object ID that should align with EntityAnnotation mid.
|
String |
getName()
Object name, expressed in its `language_code` language.
|
ByteString |
getNameBytes()
Object name, expressed in its `language_code` language.
|
float |
getScore()
Score of the result.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getMid()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
ByteString getMidBytes()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
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;
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;
String getName()
Object name, expressed in its `language_code` language.
string name = 3;
ByteString getNameBytes()
Object name, expressed in its `language_code` language.
string name = 3;
float getScore()
Score of the result. Range [0, 1].
float score = 4;
Copyright © 2022 Google LLC. All rights reserved.