Discovery Engine v1 API - Class Chunk.Types.ChunkMetadata (1.5.0)

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.

Inheritance

object > Chunk.Types.ChunkMetadata

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ChunkMetadata()

public ChunkMetadata()

ChunkMetadata(ChunkMetadata)

public ChunkMetadata(Chunk.Types.ChunkMetadata other)
Parameter
Name Description
other ChunkTypesChunkMetadata

Properties

NextChunks

public RepeatedField<Chunk> NextChunks { get; }

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.

Property Value
Type Description
RepeatedFieldChunk

PreviousChunks

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.

Property Value
Type Description
RepeatedFieldChunk