Interface SearchResponse.Summary.CitationOrBuilder (0.38.0)

public static interface SearchResponse.Summary.CitationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndIndex()

public abstract long getEndIndex()

End of the attributed segment, exclusive.

int64 end_index = 2;

Returns
Type Description
long

The endIndex.

getSources(int index)

public abstract SearchResponse.Summary.CitationSource getSources(int index)

Citation sources for the attributed segment.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.Summary.CitationSource

getSourcesCount()

public abstract int getSourcesCount()

Citation sources for the attributed segment.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3;

Returns
Type Description
int

getSourcesList()

public abstract List<SearchResponse.Summary.CitationSource> getSourcesList()

Citation sources for the attributed segment.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3;

Returns
Type Description
List<CitationSource>

getSourcesOrBuilder(int index)

public abstract SearchResponse.Summary.CitationSourceOrBuilder getSourcesOrBuilder(int index)

Citation sources for the attributed segment.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.Summary.CitationSourceOrBuilder

getSourcesOrBuilderList()

public abstract List<? extends SearchResponse.Summary.CitationSourceOrBuilder> getSourcesOrBuilderList()

Citation sources for the attributed segment.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSourceOrBuilder>

getStartIndex()

public abstract long getStartIndex()

Index indicates the start of the segment, measured in bytes/unicode.

int64 start_index = 1;

Returns
Type Description
long

The startIndex.