Builder

public abstract class Builder

Builder for GroundingSupport.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract GroundingSupport build()
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder clearConfidenceScores()
Clears the value of confidenceScores field.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder clearGroundingChunkIndices()
Clears the value of groundingChunkIndices field.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder clearRenderedParts()
Clears the value of renderedParts field.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder clearSegment()
Clears the value of segment field.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder confidenceScores(Array<Float> confidenceScores)
public abstract GroundingSupport.Builder confidenceScores(List<Float> confidenceScores)
Setter for confidenceScores.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder groundingChunkIndices(Array<Integer> groundingChunkIndices)
public abstract GroundingSupport.Builder groundingChunkIndices(List<Integer> groundingChunkIndices)
Setter for groundingChunkIndices.
Link copied to clipboard
@CanIgnoreReturnValue()
public GroundingSupport.Builder renderedParts(Array<Integer> renderedParts)
public abstract GroundingSupport.Builder renderedParts(List<Integer> renderedParts)
Setter for renderedParts.
Link copied to clipboard
public abstract GroundingSupport.Builder segment(Segment segment)
Setter for segment.
@CanIgnoreReturnValue()
public GroundingSupport.Builder segment(Segment.Builder segmentBuilder)
Setter for segment builder.