Interface SearchRequest.PersonalizationSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchRequest.PersonalizationSpec, SearchRequest.PersonalizationSpec.Builder
Enclosing class:
SearchRequest

public static interface SearchRequest.PersonalizationSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The personalization mode of the search request.
    int
    The personalization mode of the search request.

    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

    • getModeValue

      int getModeValue()
       The personalization mode of the search request.
       Defaults to
       [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode mode = 1;
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

       The personalization mode of the search request.
       Defaults to
       [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode mode = 1;
      Returns:
      The mode.