Interface SearchResponse.Summary.ReferenceOrBuilder (0.45.0)

public static interface SearchResponse.Summary.ReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunkContents(int index)

public abstract SearchResponse.Summary.Reference.ChunkContent getChunkContents(int index)

List of cited chunk contents derived from document content.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent

getChunkContentsCount()

public abstract int getChunkContentsCount()

List of cited chunk contents derived from document content.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;

Returns
Type Description
int

getChunkContentsList()

public abstract List<SearchResponse.Summary.Reference.ChunkContent> getChunkContentsList()

List of cited chunk contents derived from document content.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;

Returns
Type Description
List<ChunkContent>

getChunkContentsOrBuilder(int index)

public abstract SearchResponse.Summary.Reference.ChunkContentOrBuilder getChunkContentsOrBuilder(int index)

List of cited chunk contents derived from document content.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContentOrBuilder

getChunkContentsOrBuilderList()

public abstract List<? extends SearchResponse.Summary.Reference.ChunkContentOrBuilder> getChunkContentsOrBuilderList()

List of cited chunk contents derived from document content.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference.ChunkContentOrBuilder>

getDocument()

public abstract String getDocument()

Required. Document.name of the document. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The document.

getDocumentBytes()

public abstract ByteString getDocumentBytes()

Required. Document.name of the document. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for document.

getTitle()

public abstract String getTitle()

Title of the document.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the document.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

Cloud Storage or HTTP uri for the document.

string uri = 3;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Cloud Storage or HTTP uri for the document.

string uri = 3;

Returns
Type Description
ByteString

The bytes for uri.