Class SemanticFieldState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SemanticFieldState>
com.azure.search.documents.models.SemanticFieldState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class SemanticFieldState extends com.azure.core.util.ExpandableStringEnum<SemanticFieldState>
The way the field was used for the semantic enrichment process.
  • Field Details

    • USED

      public static final SemanticFieldState USED
      The field was fully used for semantic enrichment.
    • UNUSED

      public static final SemanticFieldState UNUSED
      The field was not used for semantic enrichment.
    • PARTIAL

      public static final SemanticFieldState PARTIAL
      The field was partially used for semantic enrichment.
  • Constructor Details

    • SemanticFieldState

      @Deprecated public SemanticFieldState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SemanticFieldState value.
  • Method Details

    • fromString

      public static SemanticFieldState fromString(String name)
      Creates or finds a SemanticFieldState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SemanticFieldState.
    • values

      public static Collection<SemanticFieldState> values()
      Gets known SemanticFieldState values.
      Returns:
      known SemanticFieldState values.