java.lang.Object
java.lang.Enum<Metric>
org.opensearch.client.opensearch.cluster.stats.Metric
All Implemented Interfaces:
Serializable, Comparable<Metric>, Constable, JsonEnum, JsonpSerializable

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum Metric extends Enum<Metric> implements JsonEnum
  • Enum Constant Details

    • All

      public static final Metric All
    • DiscoveryType

      public static final Metric DiscoveryType
    • Fs

      public static final Metric Fs
    • Indices

      public static final Metric Indices
    • Ingest

      public static final Metric Ingest
    • Jvm

      public static final Metric Jvm
    • NetworkTypes

      public static final Metric NetworkTypes
    • Os

      public static final Metric Os
    • PackagingTypes

      public static final Metric PackagingTypes
    • Plugins

      public static final Metric Plugins
    • Process

      public static final Metric Process
  • Field Details

  • Method Details

    • values

      public static Metric[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Metric valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum