Interface Chunk.ChunkMetadataOrBuilder (0.45.0)

public static interface Chunk.ChunkMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextChunks(int index)

public abstract Chunk getNextChunks(int index)

The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;

Parameter
Name Description
index int
Returns
Type Description
Chunk

getNextChunksCount()

public abstract int getNextChunksCount()

The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;

Returns
Type Description
int

getNextChunksList()

public abstract List<Chunk> getNextChunksList()

The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;

Returns
Type Description
List<Chunk>

getNextChunksOrBuilder(int index)

public abstract ChunkOrBuilder getNextChunksOrBuilder(int index)

The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;

Parameter
Name Description
index int
Returns
Type Description
ChunkOrBuilder

getNextChunksOrBuilderList()

public abstract List<? extends ChunkOrBuilder> getNextChunksOrBuilderList()

The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.ChunkOrBuilder>

getPreviousChunks(int index)

public abstract Chunk getPreviousChunks(int index)

The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;

Parameter
Name Description
index int
Returns
Type Description
Chunk

getPreviousChunksCount()

public abstract int getPreviousChunksCount()

The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;

Returns
Type Description
int

getPreviousChunksList()

public abstract List<Chunk> getPreviousChunksList()

The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;

Returns
Type Description
List<Chunk>

getPreviousChunksOrBuilder(int index)

public abstract ChunkOrBuilder getPreviousChunksOrBuilder(int index)

The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;

Parameter
Name Description
index int
Returns
Type Description
ChunkOrBuilder

getPreviousChunksOrBuilderList()

public abstract List<? extends ChunkOrBuilder> getPreviousChunksOrBuilderList()

The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.

repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.ChunkOrBuilder>