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 document provides reference documentation for the \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, with version 1.6.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e class is used to store metadata about a chunk of data, and is only present when utilizing the \u003ccode\u003eSearchService.Search\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties \u003ccode\u003eNextChunks\u003c/code\u003e and \u003ccode\u003ePreviousChunks\u003c/code\u003e, which are both \u003ccode\u003eRepeatedField\u003c/code\u003e collections of \u003ccode\u003eChunk\u003c/code\u003e type and describe the next and previous chunks.\u003c/p\u003e\n"],["\u003cp\u003eThe data found here is within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace found in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]