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 in the Google Cloud Discovery Engine v1 API, specifically for version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e is a class that 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 represents metadata about a specific chunk.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChunkMetadata\u003c/code\u003e class contains properties like \u003ccode\u003eNextChunks\u003c/code\u003e and \u003ccode\u003ePreviousChunks\u003c/code\u003e, which are populated during \u003ccode\u003eSearchService.Search\u003c/code\u003e API calls and are controlled by specified parameters in the \u003ccode\u003eSearchRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChunkMetadata\u003c/code\u003e class has two constructors: a default one, \u003ccode\u003eChunkMetadata()\u003c/code\u003e and a second, \u003ccode\u003eChunkMetadata(Chunk.Types.ChunkMetadata other)\u003c/code\u003e which takes a \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation also includes the inheritance hierarchy, implemented members, and namespace, detailing how \u003ccode\u003eChunk.Types.ChunkMetadata\u003c/code\u003e is structured within the .NET API.\u003c/p\u003e\n"]]],[],null,[]]