public sealed class Chunk.Types.ChunkMetadata : IMessage<Chunk.Types.ChunkMetadata>, IEquatable<Chunk.Types.ChunkMetadata>, IDeepCloneable<Chunk.Types.ChunkMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Chunk.Types.ChunkMetadata.
Metadata of the current chunk. This field is only populated on
[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]
API.
The next chunks of the current chunk. The number is controlled by
[SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks].
This field is only populated on
[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]
API.
public RepeatedField<Chunk> PreviousChunks { get; }
The previous chunks of the current chunk. The number is controlled by
[SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks].
This field is only populated on
[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]
API.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides reference information for the \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e is a class that provides metadata about a chunk and is populated on the \u003ccode\u003eSearchService.Search\u003c/code\u003e API, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChunkMetadata\u003c/code\u003e class includes properties such as \u003ccode\u003eNextChunks\u003c/code\u003e and \u003ccode\u003ePreviousChunks\u003c/code\u003e, which contain lists of the subsequent and preceding chunks, respectively, the number of each being determined by the SearchRequest.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the \u003ccode\u003eChunkMetadata\u003c/code\u003e class are detailed, including a default constructor and one that takes another \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis content lists and links to the documentation for multiple versions of this API class, from 1.0.0-beta06 up to the latest 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]