Interface Suggestions.SuggestionItemOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Suggestions.SuggestionItem.ContentCase getContentCase()  
      java.lang.String getText()
      The value of a suggested input to a text input field.
      com.google.protobuf.ByteString getTextBytes()
      The value of a suggested input to a text input field.
      boolean hasText()
      The value of a suggested input to a text input field.
      • 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

      • hasText

        boolean hasText()
         The value of a suggested input to a text input field. This is
         equivalent to what users enter themselves.
         
        string text = 1;
        Returns:
        Whether the text field is set.
      • getText

        java.lang.String getText()
         The value of a suggested input to a text input field. This is
         equivalent to what users enter themselves.
         
        string text = 1;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         The value of a suggested input to a text input field. This is
         equivalent to what users enter themselves.
         
        string text = 1;
        Returns:
        The bytes for text.