Interface CatalogAttribute.FacetConfig.RerankConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CatalogAttribute.FacetConfig.RerankConfig, CatalogAttribute.FacetConfig.RerankConfig.Builder
Enclosing class:
CatalogAttribute.FacetConfig

public static interface CatalogAttribute.FacetConfig.RerankConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getFacetValues(int index)
    If empty, rerank on all facet values for the current key.
    com.google.protobuf.ByteString
    If empty, rerank on all facet values for the current key.
    int
    If empty, rerank on all facet values for the current key.
    If empty, rerank on all facet values for the current key.
    boolean
    If set to true, then we also rerank the dynamic facets based on the facet values engaged by the user for the current attribute key during serving.

    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

    • getRerankFacet

      boolean getRerankFacet()
       If set to true, then we also rerank the dynamic facets based on the
       facet values engaged by the user for the current attribute key during
       serving.
       
      bool rerank_facet = 1;
      Returns:
      The rerankFacet.
    • getFacetValuesList

      List<String> getFacetValuesList()
       If empty, rerank on all facet values for the current key. Otherwise,
       will rerank on the facet values from this list only.
       
      repeated string facet_values = 2;
      Returns:
      A list containing the facetValues.
    • getFacetValuesCount

      int getFacetValuesCount()
       If empty, rerank on all facet values for the current key. Otherwise,
       will rerank on the facet values from this list only.
       
      repeated string facet_values = 2;
      Returns:
      The count of facetValues.
    • getFacetValues

      String getFacetValues(int index)
       If empty, rerank on all facet values for the current key. Otherwise,
       will rerank on the facet values from this list only.
       
      repeated string facet_values = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The facetValues at the given index.
    • getFacetValuesBytes

      com.google.protobuf.ByteString getFacetValuesBytes(int index)
       If empty, rerank on all facet values for the current key. Otherwise,
       will rerank on the facet values from this list only.
       
      repeated string facet_values = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the facetValues at the given index.