Builder

public abstract class Builder

Builder for Segment.

Constructors

Link copied to clipboard
public void Segment.Builder()

Functions

Link copied to clipboard
public abstract Segment build()
Link copied to clipboard
@CanIgnoreReturnValue()
public Segment.Builder clearEndIndex()
Clears the value of endIndex field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Segment.Builder clearPartIndex()
Clears the value of partIndex field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Segment.Builder clearStartIndex()
Clears the value of startIndex field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Segment.Builder clearText()
Clears the value of text field.
Link copied to clipboard
public abstract Segment.Builder endIndex(Integer endIndex)
Setter for endIndex.
Link copied to clipboard
public abstract Segment.Builder partIndex(Integer partIndex)
Setter for partIndex.
Link copied to clipboard
public abstract Segment.Builder startIndex(Integer startIndex)
Setter for startIndex.
Link copied to clipboard
public abstract Segment.Builder text(String text)
Setter for text.