Interface SearchRequest.ContentSearchSpec.ChunkSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest.ContentSearchSpec.ChunkSpec,SearchRequest.ContentSearchSpec.ChunkSpec.Builder
- Enclosing class:
- SearchRequest.ContentSearchSpec
public static interface SearchRequest.ContentSearchSpec.ChunkSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of next chunks to be returned of the current chunk.intThe number of previous chunks to be returned of the current chunk.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNumPreviousChunks
int getNumPreviousChunks()The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.
int32 num_previous_chunks = 1;- Returns:
- The numPreviousChunks.
-
getNumNextChunks
int getNumNextChunks()The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.
int32 num_next_chunks = 2;- Returns:
- The numNextChunks.
-