Interface ProductSearchResults.ObjectAnnotationOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLanguageCode()
      The BCP-47 language code, such as "en-US" or "sr-Latn".
      com.google.protobuf.ByteString getLanguageCodeBytes()
      The BCP-47 language code, such as "en-US" or "sr-Latn".
      String getMid()
      Object ID that should align with EntityAnnotation mid.
      com.google.protobuf.ByteString getMidBytes()
      Object ID that should align with EntityAnnotation mid.
      String getName()
      Object name, expressed in its `language_code` language.
      com.google.protobuf.ByteString getNameBytes()
      Object name, expressed in its `language_code` language.
      float getScore()
      Score of the result.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getMid

        String getMid()
         Object ID that should align with EntityAnnotation mid.
         
        string mid = 1;
        Returns:
        The mid.
      • getMidBytes

        com.google.protobuf.ByteString getMidBytes()
         Object ID that should align with EntityAnnotation mid.
         
        string mid = 1;
        Returns:
        The bytes for mid.
      • getLanguageCode

        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;
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        com.google.protobuf.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;
        Returns:
        The bytes for languageCode.
      • getName

        String getName()
         Object name, expressed in its `language_code` language.
         
        string name = 3;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Object name, expressed in its `language_code` language.
         
        string name = 3;
        Returns:
        The bytes for name.
      • getScore

        float getScore()
         Score of the result. Range [0, 1].
         
        float score = 4;
        Returns:
        The score.