Interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoOrBuilder (0.49.0)

public static interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunk()

public abstract String getChunk()

Chunk resource name.

string chunk = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The chunk.

getChunkBytes()

public abstract ByteString getChunkBytes()

Chunk resource name.

string chunk = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for chunk.

getContent()

public abstract String getContent()

Chunk textual content.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

Chunk textual content.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getDocumentMetadata()

public abstract AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata getDocumentMetadata()

Metadata of the document from the current chunk.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata

The documentMetadata.

getDocumentMetadataOrBuilder()

public abstract AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadataOrBuilder getDocumentMetadataOrBuilder()

Metadata of the document from the current chunk.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadataOrBuilder

hasDocumentMetadata()

public abstract boolean hasDocumentMetadata()

Metadata of the document from the current chunk.

.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;

Returns
Type Description
boolean

Whether the documentMetadata field is set.