Interface SearchRequest.SpellCorrectionSpecOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      SearchRequest.SpellCorrectionSpec.Mode getMode()
      The mode under which spell correction should take effect to replace the original search query.
      int getModeValue()
      The mode under which spell correction should take effect to replace the original search query.
      • 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 Detail

      • getModeValue

        int getModeValue()
         The mode under which spell correction should take effect to
         replace the original search query. Default to
         [Mode.AUTO][google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
         
        .google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode mode = 1;
        Returns:
        The enum numeric value on the wire for mode.
      • getMode

        SearchRequest.SpellCorrectionSpec.Mode getMode()
         The mode under which spell correction should take effect to
         replace the original search query. Default to
         [Mode.AUTO][google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode.AUTO].
         
        .google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode mode = 1;
        Returns:
        The mode.