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 Type
    Method
    Description
    int
    The number of next chunks to be returned of the current chunk.
    int
    The number of previous chunks to be returned of the current chunk.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.