Interface Resources.StyledString.SpanOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getFirstChar()
      The first character position this span applies to, in UTF-16 offset.
      int getLastChar()
      The last character position this span applies to, in UTF-16 offset.
      java.lang.String getTag()
      The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]
      com.google.protobuf.ByteString getTagBytes()
      The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]
      • 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

      • getTag

        java.lang.String getTag()
         The name of the tag, and its attributes, encoded as follows:
         tag_name;attr1=value1;attr2=value2;[...]
         
        string tag = 1;
        Returns:
        The tag.
      • getTagBytes

        com.google.protobuf.ByteString getTagBytes()
         The name of the tag, and its attributes, encoded as follows:
         tag_name;attr1=value1;attr2=value2;[...]
         
        string tag = 1;
        Returns:
        The bytes for tag.
      • getFirstChar

        int getFirstChar()
         The first character position this span applies to, in UTF-16 offset.
         
        uint32 first_char = 2;
        Returns:
        The firstChar.
      • getLastChar

        int getLastChar()
         The last character position this span applies to, in UTF-16 offset.
         
        uint32 last_char = 3;
        Returns:
        The lastChar.