Class Resources.StyledString.Span.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>
      • getDefaultInstanceForType

        public Resources.StyledString.Span getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Resources.StyledString.Span build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Resources.StyledString.Span buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Resources.StyledString.Span.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>
      • addRepeatedField

        public Resources.StyledString.Span.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>
      • mergeFrom

        public Resources.StyledString.Span.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Resources.StyledString.Span.Builder>
        Throws:
        java.io.IOException
      • getTag

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

        public 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;
        Specified by:
        getTagBytes in interface Resources.StyledString.SpanOrBuilder
        Returns:
        The bytes for tag.
      • setTag

        public Resources.StyledString.Span.Builder setTag​(java.lang.String value)
         The name of the tag, and its attributes, encoded as follows:
         tag_name;attr1=value1;attr2=value2;[...]
         
        string tag = 1;
        Parameters:
        value - The tag to set.
        Returns:
        This builder for chaining.
      • clearTag

        public Resources.StyledString.Span.Builder clearTag()
         The name of the tag, and its attributes, encoded as follows:
         tag_name;attr1=value1;attr2=value2;[...]
         
        string tag = 1;
        Returns:
        This builder for chaining.
      • setTagBytes

        public Resources.StyledString.Span.Builder setTagBytes​(com.google.protobuf.ByteString value)
         The name of the tag, and its attributes, encoded as follows:
         tag_name;attr1=value1;attr2=value2;[...]
         
        string tag = 1;
        Parameters:
        value - The bytes for tag to set.
        Returns:
        This builder for chaining.
      • setFirstChar

        public Resources.StyledString.Span.Builder setFirstChar​(int value)
         The first character position this span applies to, in UTF-16 offset.
         
        uint32 first_char = 2;
        Parameters:
        value - The firstChar to set.
        Returns:
        This builder for chaining.
      • clearFirstChar

        public Resources.StyledString.Span.Builder clearFirstChar()
         The first character position this span applies to, in UTF-16 offset.
         
        uint32 first_char = 2;
        Returns:
        This builder for chaining.
      • setLastChar

        public Resources.StyledString.Span.Builder setLastChar​(int value)
         The last character position this span applies to, in UTF-16 offset.
         
        uint32 last_char = 3;
        Parameters:
        value - The lastChar to set.
        Returns:
        This builder for chaining.
      • clearLastChar

        public Resources.StyledString.Span.Builder clearLastChar()
         The last character position this span applies to, in UTF-16 offset.
         
        uint32 last_char = 3;
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Resources.StyledString.Span.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.StyledString.Span.Builder>